From 65c9471c16250ab90a624d1e6713752217bf07bd Mon Sep 17 00:00:00 2001 From: Michael Sauter Date: Fri, 3 Nov 2023 14:56:53 +0100 Subject: [PATCH] Remove accidental dependency on Nexus --- test/e2e/main_test.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/e2e/main_test.go b/test/e2e/main_test.go index d47173a..fa736aa 100644 --- a/test/e2e/main_test.go +++ b/test/e2e/main_test.go @@ -5,6 +5,7 @@ import ( "os" "path/filepath" "testing" + "time" ott "github.com/opendevstack/ods-pipeline/pkg/odstasktest" ttr "github.com/opendevstack/ods-pipeline/pkg/tektontaskrun" @@ -31,7 +32,11 @@ func testMain(m *testing.M) int { } nc, cleanup, err := ttr.SetupTempNamespace( cc, - ott.StartNexus(), + // Sleep until timing issue is solved + func(cc *ttr.ClusterConfig, nc *ttr.NamespaceConfig) error { + time.Sleep(time.Minute) + return nil + }, ott.InstallODSPipeline(nil), ttr.InstallTaskFromPath( filepath.Join(rootPath, "build/tasks/render.yaml"),