diff options
author | 2021-02-08 13:48:06 +0100 | |
---|---|---|
committer | 2021-02-09 08:33:42 +0000 | |
commit | 3e8ac4b4ca407f5185dfa4becc22f56dc750afe7 (patch) | |
tree | 880b06f9d0cc66f277712dc8b30eb8445fdc7d99 /ansible/roles/application/molecule/default | |
parent | 77324013ff407183b0d9729bd335d8bf3cc72b79 (diff) |
Customize helm "--timeout" option format if running helm v3
Helm v3 requires unit definition for 'timeout' option which is not
supported by Helm v2.
Change-Id: Ia5839e5c412be1700459c70d43d2e6cc0400633d
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'ansible/roles/application/molecule/default')
-rw-r--r-- | ansible/roles/application/molecule/default/tests/test_default.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/application/molecule/default/tests/test_default.py b/ansible/roles/application/molecule/default/tests/test_default.py index be9b4cdf..f57f5afc 100644 --- a/ansible/roles/application/molecule/default/tests/test_default.py +++ b/ansible/roles/application/molecule/default/tests/test_default.py @@ -29,7 +29,7 @@ repo add local http://127.0.0.1:8879 deploy moleculetestapp local/moleculetestapp --namespace \ moleculetestapp -f /opt/moleculetestapp/helm_charts/onap/resources/\ overrides/onap-all.yaml -f /opt/moleculetestapp/override.yaml \ ---timeout 1800""" +--timeout 1800s""" expected_plugin_path = '/root/.local/share/helm/plugins/deploy/' +\ 'deploy.sh' assert fc == expected_content |