Skip to content

Commit

Permalink
Delay test run
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsauter committed Nov 3, 2023
1 parent 2d301f5 commit 8d95a8c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- task/sleep
pull_request:

env:
Expand Down
6 changes: 6 additions & 0 deletions test/e2e/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -31,6 +32,11 @@ func testMain(m *testing.M) int {
}
nc, cleanup, err := ttr.SetupTempNamespace(
cc,
// 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/logs.yaml"),
Expand Down

0 comments on commit 8d95a8c

Please sign in to comment.