Skip to content

Commit 53cb71b

Browse files
committed
clean up pr
1 parent afef6a4 commit 53cb71b

File tree

1 file changed

+2
-2
lines changed
  • examples/server/tests/features/steps

1 file changed

+2
-2
lines changed

examples/server/tests/features/steps/steps.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def step_start_server(context):
219219
if attempts > max_attempts:
220220
assert False, "server not started"
221221
print(f"waiting for server to start, connect error code = {result}...")
222-
time.sleep(0.3)
222+
time.sleep(0.1)
223223

224224

225225
async def wait_for_server_status_with_timeout(context, expecting_status: Literal['healthy', 'ready', 'idle', 'busy'] | str, timeout: int):
@@ -1343,7 +1343,7 @@ async def wait_for_slots_status(context,
13431343
if 'GITHUB_ACTIONS' in os.environ:
13441344
timeout *= 2
13451345

1346-
async with aiohttp.ClientSession(timeout=DEFAULT_TIMEOUT_SECONDS, trust_env=True) as session:
1346+
async with aiohttp.ClientSession(timeout=DEFAULT_TIMEOUT_SECONDS) as session:
13471347
while True:
13481348
headers = {'Authorization': f'Bearer {context.server_api_key}'}
13491349
async with await session.get(f'{base_url}/slots', params=params, headers=headers) as slots_response:

0 commit comments

Comments
 (0)