We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c02aac commit 8fb5f58Copy full SHA for 8fb5f58
1 file changed
tests/tests_integration/test_api/test_workflows.py
@@ -577,8 +577,9 @@ def test_list_workflow_executions(
577
listed = cognite_client.workflows.executions.list(
578
workflow_version_ids=workflow_execution_list[0].as_workflow_id()
579
)
580
-
581
- unittest.TestCase().assertCountEqual(listed, workflow_execution_list)
+ # Compare by ID: cancel() can return before fields like end_time are
+ # finalized server-side, so full-object equality is flaky.
582
+ assert {e.id for e in listed} == {e.id for e in workflow_execution_list}
583
584
def test_list_workflow_executions_by_status(
585
self,
0 commit comments