Skip to content

Commit ddc21e0

Browse files
committed
S2I Imagestreams does not work in Shared Cluster.
Let's disable it for know. As soon as build is done, then deployment is not caught the new build image. Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
1 parent 91be6d9 commit ddc21e0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/test_httpd_imagestream_s2i.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class TestHTTPDImagestreamS2I:
2020

2121
def setup_method(self):
2222
self.template_name = get_service_image(IMAGE_NAME)
23-
self.oc_api = OpenShiftAPI(pod_name_prefix=self.template_name, version=VERSION, shared_cluster=True)
23+
self.oc_api = OpenShiftAPI(pod_name_prefix=self.template_name, version=VERSION)
2424

2525
def teardown_method(self):
2626
self.oc_api.delete_project()
@@ -33,9 +33,10 @@ def test_inside_cluster(self):
3333
imagestream_file=f"imagestreams/httpd-{os_name}.json",
3434
image_name=IMAGE_NAME,
3535
app="https://github.com/sclorg/httpd-container.git",
36-
context="examples/sample-test-app"
36+
context="examples/sample-test-app",
37+
service_name=self.template_name
3738
)
38-
assert self.oc_api.template_deployed(name_in_template=self.template_name)
39+
assert self.oc_api.is_s2i_pod_running(pod_name_prefix=self.template_name)
3940
assert self.oc_api.check_response_inside_cluster(
4041
name_in_template=self.template_name, expected_output="This is a sample s2i application with static content"
4142
)

0 commit comments

Comments
 (0)