This is an automated email from the ASF dual-hosted git repository. nferraro pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit e8036e3626e171c2339d85e181629365f26cf9a1 Author: Nicola Ferraro <ni.ferr...@gmail.com> AuthorDate: Mon Dec 16 17:35:37 2019 +0100 chore(test): skip platformless e2e test when staging repo is required --- e2e/platformless_run_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/e2e/platformless_run_test.go b/e2e/platformless_run_test.go index 3edb838..9f3c668 100644 --- a/e2e/platformless_run_test.go +++ b/e2e/platformless_run_test.go @@ -22,6 +22,7 @@ limitations under the License. package e2e import ( + "os" "testing" "time" @@ -32,10 +33,11 @@ import ( ) func TestPlatformlessRun(t *testing.T) { + needsStagingRepo := os.Getenv("STAGING_RUNTIME_REPO") != "" ocp, err := openshift.IsOpenShift(testClient) assert.Nil(t, err) - if !ocp { - t.Skip("This test is for OpenShift only") + if needsStagingRepo || !ocp { + t.Skip("This test is for OpenShift only and cannot work when a custom platform configuration is needed") return }