Browse Source

Merge pull request #1205 from andreek/e2e-fix

Fix: prevent e2e tests to reuse network config of previous tests
Rajat Chopra 5 years ago
parent
commit
07dc5aa668
1 changed files with 1 additions and 0 deletions
  1. 1 0
      dist/functional-test.sh

+ 1 - 0
dist/functional-test.sh

@@ -45,6 +45,7 @@ setup() {
 
 teardown() {
     docker rm -f flannel-e2e-test-flannel1 flannel-e2e-test-flannel2 flannel-e2e-test-flannel1-iperf flannel-host1 flannel-host2 > /dev/null 2>&1
+    docker run --rm $ETCDCTL_IMG etcdctl --endpoints=$etcd_endpt rm /coreos.com/network/config > /dev/null 2>&1
 }
 
 write_config_etcd() {