From 4933fc6b434d0d12ed378f068f3c81956c92b341 Mon Sep 17 00:00:00 2001 From: Gabriel Mougard Date: Mon, 15 Jul 2024 11:18:58 +0200 Subject: [PATCH] debug tests Signed-off-by: Gabriel Mougard --- .github/workflows/tests.yml | 12 ++++++------ test/includes/microcloud.sh | 1 + test/suites/basic.sh | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b2b3411f2..756312e72 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -88,13 +88,13 @@ jobs: matrix: go: ["1.22.x"] suite: - - "add" - - "instances" - - "basic" - - "recover" + #- "add" + #- "instances" + #- "basic" + #- "recover" - "interactive" - - "mismatch" - - "preseed" + #- "mismatch" + #- "preseed" steps: - name: Performance tuning diff --git a/test/includes/microcloud.sh b/test/includes/microcloud.sh index f9e266816..5dfda96b9 100644 --- a/test/includes/microcloud.sh +++ b/test/includes/microcloud.sh @@ -124,6 +124,7 @@ ${IPV6_SUBNET} ${DNS_ADDRESSES} $(true) # workaround for set -e " + if [ -n "${OVN_UNDERLAY_NETWORK}" ]; then setup="${setup} ${OVN_UNDERLAY_NETWORK} diff --git a/test/suites/basic.sh b/test/suites/basic.sh index b44613390..7dcefcdc7 100644 --- a/test/suites/basic.sh +++ b/test/suites/basic.sh @@ -203,8 +203,8 @@ test_interactive() { export IPV4_SUBNET="10.1.123.1/24" export IPV4_START="10.1.123.100" export IPV4_END="10.1.123.254" + export OVN_UNDERLAY_NETWORK="no" microcloud_interactive | lxc exec micro01 -- sh -c "microcloud init > out" - lxc exec micro01 -- tail -1 out | grep "MicroCloud is ready" -q for m in micro01 micro02 micro03 ; do validate_system_lxd "${m}" 3 disk1 3 1 "${OVN_FILTER}" "${IPV4_SUBNET}" "${IPV4_START}"-"${IPV4_END}" "${IPV6_SUBNET}"