Skip to content

Commit 9fffd9a

Browse files
committed
Improve logging
1 parent 58f6c80 commit 9fffd9a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/nexus/test_workflow_caller_cancellation_types.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,10 @@ async def check_behavior_for_wait_cancellation_completed(
445445
handler_wf,
446446
EventType.EVENT_TYPE_WORKFLOW_EXECUTION_CANCELED,
447447
)
448-
assert handler_wf_canceled_event < result.caller_op_future_resolved
448+
assert handler_wf_canceled_event < result.caller_op_future_resolved, (
449+
"expected caller op future resolved after handler workflow canceled, but got "
450+
f"{result.caller_op_future_resolved} before {handler_wf_canceled_event}"
451+
)
449452

450453

451454
async def has_event(wf_handle: WorkflowHandle, event_type: EventType.ValueType):

0 commit comments

Comments
 (0)