Skip to content

Commit 5a400b3

Browse files
committed
Add FKAS
1 parent 9553260 commit 5a400b3

File tree

3 files changed

+7
-65
lines changed

3 files changed

+7
-65
lines changed

scripts/ci-e2e.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ pushd "${M3_DEV_ENV_PATH}" || exit 1
4747
make
4848
popd || exit 1
4949

50+
# if running a scalability test run DevEnv with fakeIPA
51+
if [[ ${GINKGO_FOCUS:-} == "scalability" ]]; then
52+
openssl req -x509 -subj "/CN=Kubernetes API" -new -newkey rsa:2048 -nodes -keyout "/tmp/ca.key" -sha256 -days 3650 -out "/tmp/ca.crt"
53+
openssl req -x509 -subj "/CN=ETCD CA" -new -newkey rsa:2048 -nodes -keyout "/tmp/etcd.key" -sha256 -days 3650 -out "/tmp/etcd.crt"
54+
fi
5055
# Binaries checked below should have been installed by metal3-dev-env make.
5156
# Verify they are available and have correct versions.
5257
PATH=$PATH:/usr/local/go/bin

scripts/environment.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ fi
6464

6565
# Scalability test environment vars and config
6666
if [[ ${GINKGO_FOCUS:-} == "bmo-scalability" ]]; then
67-
export NUM_NODES=${NUM_NODES:-"100"}
68-
export BMH_BATCH_SIZE=${BMH_BATCH_SIZE:-"20"}
67+
export NUM_NODES=${NUM_NODES:-"2"}
68+
export BMH_BATCH_SIZE=${BMH_BATCH_SIZE:-"2"}
6969
fi
7070

7171
# Integration test environment vars and config

test/e2e/bmo_scalability_test.go

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)