Skip to content

Commit

Permalink
Improve compatibiltiy with docker 24.0.x
Browse files Browse the repository at this point in the history
The error message is now "Error from daemon: .... no such volume".
So the colon after "Error" is now missing. Switch to a more specific
part of the error message that appears to be more common accross
versions and variants
  • Loading branch information
dirkmueller committed Aug 4, 2023
1 parent c33b30f commit 1c65609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def test_launcher_cleanes_up_volumes_from_image(

vol_name = mounts[0].name
assert (
"Error:"
"no such volume"
in host.run_expect(
[1, 125],
f"{container_runtime.runner_binary} volume inspect {vol_name}",
Expand Down

0 comments on commit 1c65609

Please sign in to comment.