Skip to content

Commit

Permalink
tests: fix 50_net_bonding_2VM_2BT
Browse files Browse the repository at this point in the history
it seems not using network_connect/disconnect at every loop
crash DPDK initialization.

Signed-off-by: Matthias Gatto <[email protected]>
  • Loading branch information
outscale-mgo committed Mar 9, 2020
1 parent b26592e commit e3cea21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/50_net_bonding_2VM_2BT/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ BUTTERFLY_BUILD_ROOT=$1
BUTTERFLY_SRC_ROOT=$(cd "$(dirname $0)/../.." && pwd)
source $BUTTERFLY_SRC_ROOT/tests/functions.sh

network_connect 0 1
for i in `seq 0 5`; do
if [ "$i" -le "3" ]; then
echo "===== net_Bonding mode $i ===="
network_connect 0 1
server_start_bonding 0 $i
server_start_bonding 1 $i
nic_add 0 1 42 sg-1
Expand All @@ -28,10 +28,10 @@ for i in `seq 0 5`; do
qemu_stop 2
server_stop 0
server_stop 1
network_disconnect 0 1
else
echo "net_bonding mode $i doesn't work yet"
fi
done
network_disconnect 0 1
return_result

0 comments on commit e3cea21

Please sign in to comment.