Skip to content

Commit

Permalink
feat: update timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
eruizgar91 committed Oct 11, 2024
1 parent e1569be commit 9e1c76b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/protocol_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ async def test_AIQueryApi_create_task(ai_query_api_build_fixture, ai_query_api_s
task = subscriber.ai_protocol.create_task(agent.did, {'query': 'sample_query', 'name': 'sample_task', 'additional_params': {'param1': 'value1', 'param2': 'value2'}})
print('Task created:', task.json())

await asyncio.wait_for(response_event.wait(), timeout=10)
await asyncio.wait_for(response_event.wait(), timeout=60)

assert response_data is not None, "Builder did not receive the event from subscriber"
print('Task received by builder:', response_data)
Expand Down

0 comments on commit 9e1c76b

Please sign in to comment.