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 910b47c commit e6cbe66Copy full SHA for e6cbe66
services/dynamic-sidecar/tests/unit/test_api_rest_containers_long_running_tasks.py
@@ -508,13 +508,15 @@ def _get_awaitable() -> Awaitable:
508
509
with mock_tasks(mocker):
510
task_id = await _get_awaitable()
511
+ assert task_id.endswith("unique")
512
async with auto_remove_task(client, task_id):
513
assert await _get_awaitable() == task_id
514
515
# since the previous task was already removed it is again possible
- # to create a task
516
+ # to create a task and it will share the same task_id
517
new_task_id = await _get_awaitable()
- assert new_task_id != task_id
518
+ assert new_task_id.endswith("unique")
519
+ assert new_task_id == task_id
520
521
pass
522
0 commit comments