From 935c76b8c34d6902cb78a852fafc06c70375c4ce Mon Sep 17 00:00:00 2001 From: Gyu-Ho Lee Date: Thu, 2 Nov 2017 22:40:10 -0700 Subject: [PATCH] semaphore.sh: fail tests with "(--- FAIL:|leak)" Signed-off-by: Gyu-Ho Lee --- .semaphore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.semaphore.sh b/.semaphore.sh index 48e5d8704..6aaeae372 100755 --- a/.semaphore.sh +++ b/.semaphore.sh @@ -13,4 +13,4 @@ docker run \ gcr.io/etcd-development/etcd-test:go1.8.5 \ /bin/bash -c "${TEST_OPTS} ./test 2>&1 | tee test-${TEST_SUFFIX}.log" -! grep FAIL -A10 -B50 test-${TEST_SUFFIX}.log +! egrep "(--- FAIL:|leak)" -A10 -B50 test-${TEST_SUFFIX}.log