From d12e33332803667c61d294cb7892fef7b05fd64b Mon Sep 17 00:00:00 2001 From: "Petr \"Stone\" Hracek" Date: Mon, 13 Nov 2023 10:33:57 +0100 Subject: [PATCH] Add test_latest_imagestreams Signed-off-by: Petr "Stone" Hracek --- test/run-openshift-remote-cluster | 1 + test/test-lib-python.sh | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/test/run-openshift-remote-cluster b/test/run-openshift-remote-cluster index 4b7202b7..7f8f1779 100755 --- a/test/run-openshift-remote-cluster +++ b/test/run-openshift-remote-cluster @@ -18,6 +18,7 @@ test_python_s2i_app_ex_standalone test_python_s2i_app_ex test_python_imagestream test_python_s2i_templates +test_latest_imagestreams " ct_os_set_ocp4 diff --git a/test/test-lib-python.sh b/test/test-lib-python.sh index 263feca2..cbc6c1ae 100644 --- a/test/test-lib-python.sh +++ b/test/test-lib-python.sh @@ -118,5 +118,14 @@ https://raw.githubusercontent.com/openshift/origin/master/examples/quickstarts/d done } +function test_latest_imagestreams() { + info "Testing the latest version in imagestreams" + # Switch to root directory of a container + pushd "${THISDIR}/../.." >/dev/null + ct_check_latest_imagestreams + popd >/dev/null +} + + # vim: set tabstop=2:shiftwidth=2:expandtab: