Skip to content

Commit

Permalink
Fix helm chart tests caused by renaming
Browse files Browse the repository at this point in the history
helmcharts. Added suffix 'redhat-'

Signed-off-by: Petr "Stone" Hracek <[email protected]>
  • Loading branch information
phracek committed Feb 11, 2025
1 parent 51b23d0 commit f4a27f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions test/test_mariadb_shared_helm_imagestreams.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
class TestHelmRHELMariadbImageStreams:

def setup_method(self):
package_name = "mariadb-imagestreams"
package_name = "redhat-mariadb-imagestreams"
path = test_dir
self.hc_api = HelmChartsAPI(path=path, package_name=package_name, tarball_dir=test_dir, remote=True)
self.hc_api = HelmChartsAPI(path=path, package_name=package_name, tarball_dir=test_dir)
self.hc_api.clone_helm_chart_repo(
repo_url="https://github.com/sclorg/helm-charts", repo_name="helm-charts",
subdir="charts/redhat"
Expand Down
6 changes: 3 additions & 3 deletions test/test_mariadb_shared_helm_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class TestHelmMariaDBPersistent:

def setup_method(self):
package_name = "mariadb-persistent"
package_name = "redhat-mariadb-persistent"
path = test_dir
self.hc_api = HelmChartsAPI(path=path, package_name=package_name, tarball_dir=test_dir)
self.hc_api.clone_helm_chart_repo(
Expand All @@ -23,10 +23,10 @@ def teardown_method(self):
self.hc_api.delete_project()

def test_package_persistent(self):
self.hc_api.package_name = "mariadb-imagestreams"
self.hc_api.package_name = "redhat-mariadb-imagestreams"
assert self.hc_api.helm_package()
assert self.hc_api.helm_installation()
self.hc_api.package_name = "mariadb-persistent"
self.hc_api.package_name = "redhat-mariadb-persistent"
assert self.hc_api.helm_package()
assert self.hc_api.helm_installation(values={".mariadb_version": "10.5-el8", ".namespace": self.hc_api.namespace})
assert self.hc_api.is_pod_running(pod_name_prefix="mariadb")
Expand Down

0 comments on commit f4a27f3

Please sign in to comment.