Skip to content

Commit

Permalink
Create e2e scenario covering upgrade during training
Browse files Browse the repository at this point in the history
  • Loading branch information
Srihari1192 committed Dec 4, 2023
1 parent 25d6fa2 commit 13e88a9
Show file tree
Hide file tree
Showing 5 changed files with 77 additions and 368 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/olm_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
export CODEFLARE_TEST_OUTPUT_DIR=${{ env.TEMP_DIR }}
echo "CODEFLARE_TEST_OUTPUT_DIR=${CODEFLARE_TEST_OUTPUT_DIR}" >> $GITHUB_ENV
set -euo pipefail
go test -timeout 30m -v ./test/upgrade -run TestMNISTRayClusterUp -json 2>&1 | tee ${CODEFLARE_TEST_OUTPUT_DIR}/gotest.log | gotestfmt
go test -timeout 30m -v ./test/upgrade -run TestMNISTCreateAppWrapper -json 2>&1 | tee ${CODEFLARE_TEST_OUTPUT_DIR}/gotest.log | gotestfmt
- name: Update Operator to the built version
run: |
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
export CODEFLARE_TEST_OUTPUT_DIR=${{ env.TEMP_DIR }}
echo "CODEFLARE_TEST_OUTPUT_DIR=${CODEFLARE_TEST_OUTPUT_DIR}" >> $GITHUB_ENV
set -euo pipefail
go test -timeout 30m -v ./test/upgrade -run TestMnistJobSubmit -json 2>&1 | tee ${CODEFLARE_TEST_OUTPUT_DIR}/gotest.log | gotestfmt
go test -timeout 30m -v ./test/upgrade -run TestMNISTCheckAppWrapperStatus -json 2>&1 | tee ${CODEFLARE_TEST_OUTPUT_DIR}/gotest.log | gotestfmt
- name: Run e2e tests against built operator
run: |
Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ require (
github.com/onsi/gomega v1.27.10
github.com/openshift/api v0.0.0-20230213134911-7ba313770556
github.com/project-codeflare/codeflare-common v0.0.0-20231129165224-988ba1da9069
github.com/project-codeflare/instascale v0.3.1
github.com/project-codeflare/multi-cluster-app-dispatcher v1.38.1
github.com/ray-project/kuberay/ray-operator v1.0.0-rc.1
go.uber.org/zap v1.26.0
Expand Down
44 changes: 0 additions & 44 deletions test/e2e/mnist_rayjob.py

This file was deleted.

51 changes: 0 additions & 51 deletions test/e2e/start_ray_cluster.py

This file was deleted.

Loading

0 comments on commit 13e88a9

Please sign in to comment.