Skip to content

Commit 6ccf7ef

Browse files
fix
1 parent 6c283aa commit 6ccf7ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/director-v2/tests/unit/with_dbs/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def fake_collection_run_id(faker: Faker) -> CollectionRunID:
154154
async def create_comp_run(
155155
sqlalchemy_async_engine: AsyncEngine,
156156
run_metadata: RunMetadataDict,
157-
fake_collection_run_id: CollectionRunID,
157+
faker: Faker,
158158
) -> AsyncIterator[Callable[..., Awaitable[CompRunsAtDB]]]:
159159
created_run_ids: list[int] = []
160160

@@ -169,7 +169,7 @@ async def _(
169169
"metadata": jsonable_encoder(run_metadata),
170170
"use_on_demand_clusters": False,
171171
"dag_adjacency_list": {},
172-
"collection_run_id": f"{fake_collection_run_id}",
172+
"collection_run_id": faker.uuid4(),
173173
}
174174
run_config.update(**run_kwargs)
175175
async with sqlalchemy_async_engine.begin() as conn:

0 commit comments

Comments
 (0)