Skip to content

Commit

Permalink
Merge pull request #1508 from fanhaouu/fix-run-e2e-tests-bug
Browse files Browse the repository at this point in the history
[e2e] no test timeouts, produce the same image tag as in production
  • Loading branch information
k8s-ci-robot authored Sep 9, 2024
2 parents 73432b7 + ab6a3ca commit 4d6a0f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/run-e2e-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ SKIP_INSTALL=${SKIP_INSTALL:-}
KIND_E2E=${KIND_E2E:-}

# Build a descheduler image
IMAGE_TAG=$(git describe --tags --match v0*)
IMAGE_TAG=v$(date +%Y%m%d)-$(git describe --tags)
BASEDIR=$(dirname "$0")
VERSION="${IMAGE_TAG}" make -C ${BASEDIR}/.. image

Expand Down Expand Up @@ -54,4 +54,4 @@ fi
kubectl apply -f kubernetes/base/rbac.yaml

PRJ_PREFIX="sigs.k8s.io/descheduler"
go test ${PRJ_PREFIX}/test/e2e/ -v
go test ${PRJ_PREFIX}/test/e2e/ -v -timeout 0

0 comments on commit 4d6a0f1

Please sign in to comment.