Skip to content

Commit 675fd90

Browse files
authored
Fix jax E2E test (#38)
* Fix jax E2E test
1 parent ae80c6d commit 675fd90

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

hack/run-e2e-kind.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ if [ ! -f ${GOBIN}/ginkgo ]; then
3636
GOBIN=${GOBIN} go install github.com/onsi/ginkgo/v2/[email protected]
3737
fi
3838

39-
${GOBIN}/ginkgo -r --keep-going --randomize-all --randomize-suites --trace -vv ${REPO_ROOT}/test/e2e/suites/integrations/third_party --label-filter '!autoscale', '!scale'
39+
${GOBIN}/ginkgo -r --keep-going --randomize-all --randomize-suites --trace -vv ${REPO_ROOT}/test/e2e/suites --label-filter '!autoscale', '!scale'
4040

4141
kind delete cluster --name $CLUSTER_NAME

test/e2e/suites/integrations/third_party/kubeflow.org/jax/jax_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
runtimeClient "sigs.k8s.io/controller-runtime/pkg/client"
1919

2020
v2 "github.com/NVIDIA/KAI-scheduler/pkg/apis/scheduling/v2"
21-
"github.com/NVIDIA/KAI-scheduler/pkg/scheduler/constants"
21+
"github.com/NVIDIA/KAI-scheduler/pkg/common/constants"
2222
testcontext "github.com/NVIDIA/KAI-scheduler/test/e2e/modules/context"
2323
"github.com/NVIDIA/KAI-scheduler/test/e2e/modules/resources/capacity"
2424
"github.com/NVIDIA/KAI-scheduler/test/e2e/modules/resources/rd"
@@ -65,10 +65,10 @@ var _ = Describe("JAX integration", Ordered, func() {
6565
It("should run the pods of the Jax", func(ctx context.Context) {
6666
singleGPURequest := v1.ResourceRequirements{
6767
Limits: v1.ResourceList{
68-
constants.GPUResource: resource.MustParse("1"),
68+
constants.GpuResource: resource.MustParse("1"),
6969
},
7070
Requests: v1.ResourceList{
71-
constants.GPUResource: resource.MustParse("1"),
71+
constants.GpuResource: resource.MustParse("1"),
7272
},
7373
}
7474

0 commit comments

Comments
 (0)