From cb79188fdac2722384578716276a870f244e1c44 Mon Sep 17 00:00:00 2001 From: Tuna Date: Tue, 29 Aug 2017 15:42:25 +0700 Subject: [PATCH 1/2] enable test debug --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 75b90b03d..85a47d250 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,6 +43,7 @@ script: - make all-yaml - | if [ "$TRAVIS_OS_NAME" = linux ]; then + export TEST_DEBUG=1 make integration-tests fi From 4a0aa5de3057eb0654b34154eeca23a7b8b60c6a Mon Sep 17 00:00:00 2001 From: Tuna Date: Tue, 29 Aug 2017 15:42:53 +0700 Subject: [PATCH 2/2] fix func_topic is empty --- script/libtest.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/libtest.bash b/script/libtest.bash index d44aa0fc5..ebf1c593c 100644 --- a/script/libtest.bash +++ b/script/libtest.bash @@ -220,7 +220,8 @@ test_kubeless_function() { k8s_wait_for_pod_ready -l function=${func} case "${func}" in *pubsub*) - func_topic=$(kubeless function describe "${func}" -o yaml|sed -n 's/^topic: //p') + func_topic=$(kubeless function describe "${func}" -o yaml|sed -n 's/topic: //p') + echo_info "FUNC TOPIC: $func_topic" _wait_for_kubeless_kafka_topic_ready ${func_topic:?};; esac make -sC examples ${func}-verify