Skip to content

Commit 831fec2

Browse files
committed
The server now uses UUID v7 for runID
1 parent b711b4f commit 831fec2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/worker/test_workflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ async def test_workflow_info(client: Client, env: WorkflowEnvironment):
220220
assert info["retry_policy"] == json.loads(
221221
json.dumps(dataclasses.asdict(retry_policy), default=str)
222222
)
223-
assert uuid.UUID(info["run_id"]).version == 4
223+
assert uuid.UUID(info["run_id"]).version == 7
224224
assert info["run_timeout"] is None
225225
datetime.fromisoformat(info["start_time"])
226226
assert info["task_queue"] == worker.task_queue

0 commit comments

Comments
 (0)