-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Verify the nb db psql version at upgrade
Signed-off-by: Sagi Hirshfeld <[email protected]>
- Loading branch information
1 parent
17cd6c8
commit 1692679
Showing
5 changed files
with
193 additions
and
21 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
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
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import pytest | ||
from ocs_ci.framework.testlib import libtest | ||
from ocs_ci.helpers.helpers import verify_nb_db_psql_version | ||
|
||
|
||
@libtest | ||
@pytest.mark.parametrize( | ||
"check_image", | ||
[ | ||
False, | ||
True, | ||
], | ||
) | ||
def test_nb_db_psql_version(check_image): | ||
verify_nb_db_psql_version(check_image_name_version=check_image) |