Skip to content

Commit 6fd7fe8

Browse files
Merge pull request #6975 from hjoliver/fix-test-tokens
Update a test for recent merge.
2 parents a3b27b3 + 56376e9 commit 6fd7fe8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/integration/test_task_pool.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2041,7 +2041,9 @@ def _get_id(b_completion: str = "succeeded"):
20412041
assert schd.pool.get_task_ids() == {"1/a"}
20422042

20432043
# 1/b should not be resurrected if it becomes ready
2044-
schd.pool.set_prereqs_and_outputs(['1/b'], [], ["1/a"], [1],)
2044+
schd.pool.set_prereqs_and_outputs(
2045+
{TaskTokens('1', 'b')}, [], ["1/a"], ["1"],
2046+
)
20452047
assert log_filter(regex="1/b:expired.* already finished and completed")
20462048

20472049
# but we can still resurrect 1/b by triggering it

0 commit comments

Comments
 (0)