generated from canonical/template-operator
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loosen the manual server shell compatibility check to allow for shell…
… 8.0.38 built for 8.0.39 (#556) * Loosen the manual server shell compatibility check to allow for shell 8.0.38 built for 8.0.39 * Fix failing unit test
- Loading branch information
1 parent
a235a99
commit b2d09cb
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1746,7 +1746,7 @@ def test_verify_server_upgradable(self, _run_mysqlsh_script): | |
"shell.connect('clusteradmin:[email protected]:3306')", | ||
"try:\n util.check_for_server_upgrade(options={'outputFormat': 'JSON'})", | ||
"except ValueError:", | ||
" if session.run_sql('select @@version').fetch_all()[0][0].split('-')[0] == shell.version.split()[1]:", | ||
" if session.run_sql('select @@version').fetch_all()[0][0].split('-')[0] in shell.version:", | ||
" print('SAME_VERSION')", | ||
" else:", | ||
" raise", | ||
|