Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/pr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,15 @@ jobs:
test-timeout: 1200s
job-timeout-minutes: 25

- label: up-provider-microsandbox-logs-cancel
runner: ubuntu-latest
free-disk-space: false
install-kind: false
requires-secret: false
install-microsandbox: true
test-timeout: 1200s
job-timeout-minutes: 25

# Snapshot tests

- label: snapshot
Expand Down
10 changes: 10 additions & 0 deletions e2e/e2e_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"testing"
"time"

"github.com/devsy-org/devsy/cmd"
"github.com/devsy-org/devsy/e2e/framework"
// Register tests.
_ "github.com/devsy-org/devsy/e2e/tests/build"
Expand Down Expand Up @@ -43,6 +44,15 @@ import (
"github.com/onsi/gomega"
)

func TestMain(m *testing.M) {
// The external runtime self-execs this test binary as the real supervisor.
if len(os.Args) > 2 && os.Args[1] == "internal" && os.Args[2] == "runtime-supervisor" {
cmd.Execute()
return
}
os.Exit(m.Run())
}

// TestRunE2ETests checks configuration parameters (specified through flags) and then runs
// E2E tests using the Ginkgo runner.
// If a "report directory" is specified, one or more JUnit test reports will be
Expand Down
Loading
Loading