Skip to content

Commit

Permalink
Merge pull request #534 from aiven/alex-fix-tests
Browse files Browse the repository at this point in the history
Fix CI pipeline - check major versions only for commands
  • Loading branch information
rdunklau committed May 19, 2022
2 parents eaa986e + 292dc52 commit 65f57f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ def _check_all_needed_commands_found(self, bindir):
assert ver is not None
if version is None:
version = ver
assert version == ver
# Major version should match, some packages are shipped with different minor versions of binaries
assert version.split(".")[0] == ver.split(".")[0]
assert os.path.dirname(command_path) == bindir
return version

0 comments on commit 65f57f6

Please sign in to comment.