Commit 7ca1d0fa authored by Elisabetta Giani's avatar Elisabetta Giani
Browse files

k8s-configuration: try to fix problem in k8s_test execution

parent 605f25b9
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -194,7 +194,8 @@ k8s_test = tar -c test-harness/ | \
# base64 payload is given a boundary "~~~~BOUNDARY~~~~" and extracted using perl
# clean up the run to completion container
# exit the saved status
k8s_test: deploy show wait## test the application on K8s
k8s_test: deploy wait## test the application on K8s
	@echo "KUBE_NAMESPACE: $(KUBE_NAMESPACE)"
	$(call k8s_test,test); \
	  status=$$?; \
	  rm -fr build; \
@@ -203,7 +204,6 @@ k8s_test: deploy show wait## test the application on K8s
		perl -ne 'BEGIN {$$on=0;}; if (index($$_, "~~~~BOUNDARY~~~~")!=-1){$$on+=1;next;}; print if $$on % 2;' | \
		base64 -d | tar -xzf -; \
		kubectl --namespace $(KUBE_NAMESPACE) delete pod $(TEST_RUNNER); \
	  make delete
	  exit $$status