Skip to content

Commit

Permalink
Update condition in tests_misc.yml
Browse files Browse the repository at this point in the history
With merging of linux-system-roles#97 the error message when resizing a volume to a too large
size got changed. Account for that in the test.
  • Loading branch information
pcahyna committed Aug 21, 2020
1 parent ab163df commit 80b19d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests_misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
- name: Verify the output when resizing with large size
assert:
that: "blivet_output.failed and
blivet_output.msg|regex_search('volume.*foo-test1.*cannot be resized from.*to.*') and
blivet_output.msg|regex_search('volume.*test1.*cannot be resized to.*') and
not blivet_output.changed"
msg: "Unexpected behavior when resizing with large size"

Expand Down

0 comments on commit 80b19d0

Please sign in to comment.