Fix test cases occasional failure (#647)

This commit is contained in:
Ta-Ching Chen
2018-04-26 14:39:16 +08:00
committed by GitHub
parent 0b34abcada
commit 6375819195
2 changed files with 9 additions and 5 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ response=$(curl http://$FISSION_ROUTER/$fn)
log "Checking for valid response"
echo $response | grep -i hello
# crappy cleanup, improve this later
kubectl get httptrigger -o name | tail -1 | cut -f2 -d'/' | xargs kubectl delete httptrigger
routeid=$(fission route list|grep "$fn"|awk '{print $1}')
fission route delete --name $routeid || true
log "All done."