Skip to content

Commit 782bbe7

Browse files
Merge pull request #195 from dtantsur/multinode
🌱 Use a multi-node cluster in functional tests
2 parents 360390a + 4269568 commit 782bbe7

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.github/workflows/functional.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
go-version: ${{ steps.vars.outputs.go_version }}
2323
- name: Setup a minikube cluster
2424
uses: medyagh/setup-minikube@cea33675329b799adccc9526aa5daccc26cd5052 # v0.0.19
25+
with:
26+
start-args: "--ha"
2527
- name: Prepare tests
2628
run: ./test/prepare.sh
2729
- name: Run tests

test/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ cd "${REPO_ROOT}/test"
77

88
LOGDIR="${LOGDIR:-/tmp/logs}"
99
JUNIT_OUTPUT="${JUNIT_OUTPUT:-${LOGDIR}/report.xml}"
10-
TEST_TIMEOUT="${TEST_TIMEOUT:-60m}"
10+
TEST_TIMEOUT="${TEST_TIMEOUT:-90m}"
1111

1212
. testing.env
1313

test/suite_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,7 @@ func VerifyIronic(ironic *metal3api.Ironic, assumptions TestAssumptions) {
526526
if !assumptions.withHA {
527527
currentIronicIPs = getCurrentIronicIPs(ctx, ironic.Namespace, ironic.Name)
528528
}
529+
GinkgoWriter.Printf("Ironic detected at the following host IPs: %+v\n", currentIronicIPs)
529530
ironicURLs := make([]string, 0, len(currentIronicIPs))
530531
for _, ironicIP := range currentIronicIPs {
531532
ironicURLs = append(ironicURLs, fmt.Sprintf("%s://%s", proto, net.JoinHostPort(ironicIP, "6385")))

0 commit comments

Comments
 (0)