Skip to content

Commit 5a27e01

Browse files
fix PVS e2e - introduce ginkgo timeout (#1082)
Signed-off-by: Prajyot-Parab <[email protected]>
1 parent 5eff1b0 commit 5a27e01

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,10 @@ test: generate fmt vet setup-envtest $(GOTESTSUM) ## Run tests
203203
GINKGO_FOCUS ?= Workload cluster creation
204204
GINKGO_NODES ?= 3
205205
GINKGO_NOCOLOR ?= false
206+
GINKGO_TIMEOUT ?= 2h
206207
E2E_FLAVOR ?= powervs-md-remediation
207208
JUNIT_FILE ?= junit.e2e_suite.1.xml
208-
GINKGO_ARGS ?= -v --trace --tags=e2e --focus=$(GINKGO_FOCUS) --nodes=$(GINKGO_NODES) --no-color=$(GINKGO_NOCOLOR) --output-dir="$(ARTIFACTS)" --junit-report="$(JUNIT_FILE)"
209+
GINKGO_ARGS ?= -v --trace --tags=e2e --timeout=$(GINKGO_TIMEOUT) --focus=$(GINKGO_FOCUS) --nodes=$(GINKGO_NODES) --no-color=$(GINKGO_NOCOLOR) --output-dir="$(ARTIFACTS)" --junit-report="$(JUNIT_FILE)"
209210
ARTIFACTS ?= $(REPO_ROOT)/_artifacts
210211
SKIP_CLEANUP ?= false
211212
SKIP_CREATE_MGMT_CLUSTER ?= false

scripts/ci-e2e.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ mkdir -p "${ARTIFACTS}/logs/"
3636

3737
ARCH=$(uname -m)
3838
OS=$(uname -s)
39-
IBMCLOUD_CLI_VERSION=${IBMCLOUD_CLI_VERSION:-"2.13.0"}
39+
IBMCLOUD_CLI_VERSION=${IBMCLOUD_CLI_VERSION:-"2.14.0"}
4040
PVSADM_VERSION=${PVSADM_VERSION:-"v0.1.9"}
4141
E2E_FLAVOR=${E2E_FLAVOR:-}
4242
REGION=${REGION:-"jp-osa"}
@@ -74,11 +74,12 @@ install_ibmcloud_cli(){
7474
create_powervs_network_instance(){
7575
install_ibmcloud_cli
7676

77+
ibmcloud config --check-version=false
7778
# Login to IBM Cloud using the API Key
7879
ibmcloud login -a cloud.ibm.com -r ${REGION}
7980

8081
# Install power-iaas command-line plug-in and target the required service instance
81-
ibmcloud plugin install power-iaas
82+
ibmcloud plugin install power-iaas -f
8283
CRN=$(ibmcloud resource service-instance ${IBMPOWERVS_SERVICE_INSTANCE_ID} --output json | jq -r '.[].crn')
8384
ibmcloud pi service-target ${CRN}
8485

test/e2e/config/ibmcloud-e2e-powervs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ variables:
6060
intervals:
6161
default/wait-controllers: ["3m", "10s"]
6262
default/wait-cluster: ["20m", "10s"]
63-
default/wait-control-plane: ["60m", "10s"]
64-
default/wait-worker-nodes: ["60m", "10s"]
63+
default/wait-control-plane: ["40m", "10s"]
64+
default/wait-worker-nodes: ["40m", "10s"]
6565
default/wait-delete-cluster: ["20m", "10s"]
6666
default/wait-machine-upgrade: ["50m", "10s"]
6767
default/wait-machine-remediation: ["30m", "10s"]

0 commit comments

Comments
 (0)