-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix CI issues with snap install and race conditions in sharding test (#…
…287) ## Issue older version of data platform actions has issues with checking installed snaps there are race conditions present in the charm that cause issues with tests ## Solution update data platform actions resolve race conditions ## Other add status checks
- Loading branch information
1 parent
cc52ce1
commit 347f777
Showing
4 changed files
with
44 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,12 +72,12 @@ description = Run charm integration tests | |
pass_env = | ||
{[testenv]pass_env} | ||
CI | ||
CI_PACKED_CHARMS | ||
deps = | ||
pytest | ||
juju==3.2.0.1 | ||
pytest-operator | ||
pytest-mock | ||
git+https://github.com/canonical/[email protected]\#subdirectory=python/pytest_plugins/pytest_operator_cache | ||
-r {tox_root}/requirements.txt | ||
commands = | ||
pytest -v --tb native --log-cli-level=INFO -s --durations=0 {posargs} {[vars]tests_path}/integration/test_charm.py | ||
|
@@ -87,12 +87,12 @@ description = Run high availability integration tests | |
pass_env = | ||
{[testenv]pass_env} | ||
CI | ||
CI_PACKED_CHARMS | ||
deps = | ||
pytest | ||
juju==3.2.0.1 | ||
pytest-mock | ||
pytest-operator | ||
git+https://github.com/canonical/[email protected]\#subdirectory=python/pytest_plugins/pytest_operator_cache | ||
-r {tox_root}/requirements.txt | ||
commands = | ||
pytest -vvv --tb native --log-cli-level=INFO -s --durations=0 {posargs} {[vars]tests_path}/integration/ha_tests/test_ha.py | ||
|
@@ -102,12 +102,12 @@ description = Run new relation integration tests | |
pass_env = | ||
{[testenv]pass_env} | ||
CI | ||
CI_PACKED_CHARMS | ||
deps = | ||
pytest | ||
juju==3.2.0.1 | ||
pytest-mock | ||
pytest-operator | ||
git+https://github.com/canonical/[email protected]\#subdirectory=python/pytest_plugins/pytest_operator_cache | ||
-r {tox_root}/requirements.txt | ||
commands = | ||
pytest -v --tb native --log-cli-level=INFO -s --durations=0 {posargs} {[vars]tests_path}/integration/relation_tests/new_relations/test_charm_relations.py | ||
|
@@ -117,12 +117,12 @@ description = Run legacy relation integration tests | |
pass_env = | ||
{[testenv]pass_env} | ||
CI | ||
CI_PACKED_CHARMS | ||
deps = | ||
pytest | ||
juju==3.2.0.1 | ||
pytest-mock | ||
pytest-operator | ||
git+https://github.com/canonical/[email protected]\#subdirectory=python/pytest_plugins/pytest_operator_cache | ||
-r {tox_root}/requirements.txt | ||
commands = | ||
pytest -v --tb native --log-cli-level=INFO -s --durations=0 {posargs} {[vars]tests_path}/integration/relation_tests/legacy_relations/test_charm_legacy_relations.py | ||
|
@@ -132,12 +132,12 @@ description = Run tls integration tests | |
pass_env = | ||
{[testenv]pass_env} | ||
CI | ||
CI_PACKED_CHARMS | ||
deps = | ||
pytest | ||
juju==3.2.0.1 | ||
pytest-mock | ||
pytest-operator | ||
git+https://github.com/canonical/[email protected]\#subdirectory=python/pytest_plugins/pytest_operator_cache | ||
-r {tox_root}/requirements.txt | ||
commands = | ||
pytest -v --tb native --log-cli-level=INFO -s --durations=0 {posargs} {[vars]tests_path}/integration/tls_tests/test_tls.py | ||
|
@@ -148,7 +148,6 @@ description = Run backup integration tests | |
pass_env = | ||
{[testenv]pass_env} | ||
CI | ||
CI_PACKED_CHARMS | ||
AWS_ACCESS_KEY | ||
AWS_SECRET_KEY | ||
GCP_ACCESS_KEY | ||
|
@@ -158,6 +157,7 @@ deps = | |
juju==3.2.0.1 | ||
pytest-mock | ||
pytest-operator | ||
git+https://github.com/canonical/[email protected]\#subdirectory=python/pytest_plugins/pytest_operator_cache | ||
-r {tox_root}/requirements.txt | ||
commands = | ||
pytest -v --tb native --log-cli-level=INFO -s --durations=0 {posargs} {[vars]tests_path}/integration/backup_tests/test_backups.py | ||
|
@@ -167,12 +167,12 @@ description = Run metrics integration tests | |
pass_env = | ||
{[testenv]pass_env} | ||
CI | ||
CI_PACKED_CHARMS | ||
deps = | ||
pytest | ||
juju==3.2.0.1 | ||
pytest-mock | ||
pytest-operator | ||
git+https://github.com/canonical/[email protected]\#subdirectory=python/pytest_plugins/pytest_operator_cache | ||
-r {tox_root}/requirements.txt | ||
commands = | ||
pytest -v --tb native --log-cli-level=INFO -s --durations=0 {posargs} {[vars]tests_path}/integration/metrics_tests/test_metrics.py | ||
|
@@ -182,12 +182,12 @@ description = Run sharding integration tests | |
pass_env = | ||
{[testenv]pass_env} | ||
CI | ||
CI_PACKED_CHARMS | ||
deps = | ||
pytest | ||
juju==3.2.0.1 | ||
pytest-mock | ||
pytest-operator | ||
git+https://github.com/canonical/[email protected]\#subdirectory=python/pytest_plugins/pytest_operator_cache | ||
-r {tox_root}/requirements.txt | ||
commands = | ||
pytest -v --tb native --log-cli-level=INFO -s --durations=0 {posargs} {[vars]tests_path}/integration/sharding_tests/test_sharding.py | ||
|
@@ -198,12 +198,12 @@ description = Run all integration tests | |
pass_env = | ||
{[testenv]pass_env} | ||
CI | ||
CI_PACKED_CHARMS | ||
deps = | ||
pytest | ||
juju==3.2.0.1 | ||
pytest-mock | ||
pytest-operator | ||
git+https://github.com/canonical/[email protected]\#subdirectory=python/pytest_plugins/pytest_operator_cache | ||
-r {tox_root}/requirements.txt | ||
commands = | ||
pytest -v --tb native --log-cli-level=INFO -s --durations=0 {posargs} {[vars]tests_path}/integration/ | ||
|