Skip to content

Commit fb536f5

Browse files
authored
Fix race condition in test_async_response (#1474)
* fix race condition in test_async_response nexus test * revert uv.lock
1 parent 53ff065 commit fb536f5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/nexus/test_workflow_caller.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1191,10 +1191,10 @@ async def test_async_response(
11911191
handler_wf_info = await handler_wf_handle.describe()
11921192
assert handler_wf_info.status == WorkflowExecutionStatus.CANCELED
11931193
else:
1194-
handler_wf_info = await handler_wf_handle.describe()
1195-
assert handler_wf_info.status == WorkflowExecutionStatus.COMPLETED
11961194
result = await caller_wf_handle.result()
11971195
assert result.op_output.value == "workflow result"
1196+
handler_wf_info = await handler_wf_handle.describe()
1197+
assert handler_wf_info.status == WorkflowExecutionStatus.COMPLETED
11981198

11991199

12001200
async def _start_wf_and_nexus_op(

0 commit comments

Comments
 (0)