Skip to content

Commit

Permalink
debug tests
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
  • Loading branch information
gabrielmougard committed Jul 15, 2024
1 parent 18f6ac6 commit f54d149
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions test/includes/microcloud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ ${IPV6_SUBNET}
${DNS_ADDRESSES}
$(true) # workaround for set -e
"

if [ -n "${OVN_UNDERLAY_NETWORK}" ]; then
setup="${setup}
${OVN_UNDERLAY_NETWORK}
Expand Down
3 changes: 2 additions & 1 deletion test/suites/basic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +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"
microcloud_interactive | lxc exec micro01 -- sh -c "microcloud init > out"
! microcloud_interactive | lxc exec micro01 -- sh -c "microcloud init > out" || false
lxc exec micro01 -- cat out

lxc exec micro01 -- tail -1 out | grep "MicroCloud is ready" -q
for m in micro01 micro02 micro03 ; do
Expand Down

0 comments on commit f54d149

Please sign in to comment.