Skip to content

Commit c7693f9

Browse files
committed
minimize devmode tests for CI
we're not faking the webhook in the controller, so the devmode tests can't assume that Suspend is automatically being set.
1 parent f3793e2 commit c7693f9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

hack/run-dev-mode-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ run () {
3535
}
3636

3737
NAMESPACE=dev go run ./cmd/main.go &
38-
run $! go run github.com/onsi/ginkgo/v2/ginkgo -v -fail-fast --procs 1 -timeout 130m --label-filter=Kueue ./test/e2e
38+
run $! go run github.com/onsi/ginkgo/v2/ginkgo -v -fail-fast --procs 1 -timeout 130m --label-filter=DevMode ./test/e2e
3939

4040
RC=$?
4141
if [ ${RC} -eq 0 ]

test/e2e/appwrapper_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ var _ = Describe("AppWrapper E2E Test", func() {
4646
cleanupTestObjects(ctx, appwrappers)
4747
})
4848

49-
Describe("Creation of Fundamental GVKs", Label("Kueue", "Standalone"), func() {
49+
Describe("Creation of Fundamental GVKs", Label("Kueue", "Standalone", "DevMode"), func() {
5050
It("Pods", func() {
5151
aw := createAppWrapper(ctx, pod(250), pod(250))
5252
appwrappers = append(appwrappers, aw)
@@ -80,15 +80,15 @@ var _ = Describe("AppWrapper E2E Test", func() {
8080
})
8181
})
8282

83-
Describe("Creation of Kubeflow Training Operator GVKs", Label("Kueue", "Standalone"), func() {
83+
Describe("Creation of Kubeflow Training Operator GVKs", Label("Kueue", "Standalone", "DevMode"), func() {
8484
It("PyTorch Jobs", func() {
8585
aw := createAppWrapper(ctx, pytorchjob(2, 250))
8686
appwrappers = append(appwrappers, aw)
8787
Expect(waitAWPodsReady(ctx, aw)).Should(Succeed())
8888
})
8989
})
9090

91-
Describe("Creation of Kuberay GVKs", Label("Kueue", "Standalone"), func() {
91+
Describe("Creation of Kuberay GVKs", Label("Kueue", "Standalone", "DevMode"), func() {
9292
It("RayClusters", func() {
9393
aw := createAppWrapper(ctx, raycluster(500, 2, 250))
9494
appwrappers = append(appwrappers, aw)

0 commit comments

Comments
 (0)