Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
fantix committed Nov 28, 2024
1 parent 3807876 commit 7004cb2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_server_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -910,17 +910,22 @@ def _featkey(feature: str) -> str:
await con2.aclose()

async def test_server_ops_downgrade_to_cleartext(self):
print('test_server_ops_downgrade_to_cleartext 11111111')
async with tb.start_edgedb_server(
binary_endpoint_security=args.ServerEndpointSecurityMode.Optional,
) as sd:
print('test_server_ops_downgrade_to_cleartext 22222222')
con = await sd.connect_test_protocol(
user='edgedb',
tls_security='insecure',
)
print('test_server_ops_downgrade_to_cleartext 333333333')
try:
await self._test_connection(con)
finally:
print('test_server_ops_downgrade_to_cleartext 44444444444')
await con.aclose()
print('test_server_ops_downgrade_to_cleartext 55555555555')

async def test_server_ops_no_cleartext(self):
async with tb.start_edgedb_server(
Expand Down

0 comments on commit 7004cb2

Please sign in to comment.