Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
Signed-off-by: Wenqi Qiu <wenqiq@vmware.com>
  • Loading branch information
wenqiq committed Jan 15, 2024
1 parent cc75d96 commit 62a808c
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions ci/jenkins/test-scale.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,11 @@ WORKDIR=$DEFAULT_WORKDIR
KUBECONFIG_PATH=$DEFAULT_KUBECONFIG_PATH
TESTCASE=""
TEST_FAILURE=false
MODE="report"
DOCKER_REGISTRY=$(head -n1 "${WORKSPACE}/ci/docker-registry")
TESTBED_TYPE="legacy"
GO_VERSION=$(head -n1 "${WORKSPACE}/build/images/deps/go-version")
IMAGE_PULL_POLICY="Always"
DEFAULT_IP_MODE="ipv4"
IP_MODE=""
GOLANG_RELEASE_DIR=${WORKDIR}/golang-releases

CONFORMANCE_SKIP="\[Slow\]|\[Serial\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]|\[sig-cli\]|\[sig-storage\]|\[sig-auth\]|\[sig-api-machinery\]|\[sig-apps\]|\[sig-node\]"
NETWORKPOLICY_SKIP="NetworkPolicyLegacy|should allow egress access to server in CIDR block|should enforce except clause while egress access to server in CIDR block"

CONTROL_PLANE_NODE_ROLE="master|control-plane"

CLEAN_STALE_IMAGES="docker system prune --force --all --filter until=4h"
Expand Down Expand Up @@ -118,8 +111,6 @@ if [[ "$DOCKER_REGISTRY" != "" ]]; then
fi
export NO_PULL

E2ETEST_PATH=${WORKDIR}/kubernetes/_output/dockerized/bin/linux/amd64/e2e.test

function export_govc_env_var {
env_govc="${WORKDIR}/govc.env"
if [ -f "$env_govc" ]; then
Expand Down Expand Up @@ -287,7 +278,7 @@ function prepare_scale_simulator {
}

function run_scale_test {
echo "====== Running Antrea E2E Tests ======"
echo "====== Running Antrea Scale Tests ======"
export GO111MODULE=on
export GOPATH=${WORKDIR}/go
export GOROOT=${GOLANG_RELEASE_DIR}/go
Expand All @@ -300,6 +291,8 @@ function run_scale_test {
generate_ssh_config

set +e
ll ${WORKSPACE}
make bin
${WORKSPACE}/bin/antrea-scale --config ./test/performance/scale.yml
set -e

Expand Down

0 comments on commit 62a808c

Please sign in to comment.