From 527bcffe3baaac6f7b6e8cb7ffc1f6caee52b0da Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Wed, 23 Aug 2017 09:39:40 +0000 Subject: [PATCH] Extend weave-kube smoke test: add a policy with blank 'from' Per issue #3095 this crashes the commenting code. Also added check to see if the pods are still running. --- test/840_weave_kube_3_test.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/test/840_weave_kube_3_test.sh b/test/840_weave_kube_3_test.sh index 9b98dec1..9718b556 100755 --- a/test/840_weave_kube_3_test.sh +++ b/test/840_weave_kube_3_test.sh @@ -94,6 +94,20 @@ spec: run: nettest EOF +# Another policy, this time with no 'from' section, just to check that doesn't cause a crash +run_on $HOST1 "$KUBECTL apply -f -" <