Skip to content

Commit e726e78

Browse files
author
Andrei Neagu
committed
fixed failing test
1 parent 2ded5fe commit e726e78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/dynamic-sidecar/tests/unit/test_core_errors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ def test_legacy_interface_volume_not_found_error():
2929
raise VolumeNotFoundError( # noqa: TRY301
3030
volume_count=len(volumes),
3131
source_label="some",
32-
run_id="run_id",
32+
service_run_id="service_run_id",
3333
volume_names=volume_names,
3434
status_code=status.HTTP_404_NOT_FOUND,
3535
)
3636
except Exception as e:
3737
print(e)
3838
assert ( # noqa: PT017
3939
e.message
40-
== "Expected 1 got 2 volumes labels with source_label=some, run_id=run_id: Found UNKNOWN a_volume"
40+
== "Expected 1 got 2 volumes labels with source_label=some, service_run_id=service_run_id: Found UNKNOWN a_volume"
4141
)
4242
assert e.status_code == status.HTTP_404_NOT_FOUND # noqa: PT017

0 commit comments

Comments
 (0)