From c6c3e81026d63fa8c2455a2e07ab252eb16a6ac3 Mon Sep 17 00:00:00 2001 From: Gyu-Ho Lee Date: Fri, 1 Dec 2017 13:32:09 -0800 Subject: [PATCH] semaphore: grep "test timed out" first, then leaky goroutines 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 4a1f8d260..5c086a5e8 100755 --- a/.semaphore.sh +++ b/.semaphore.sh @@ -13,4 +13,4 @@ docker run \ gcr.io/etcd-development/etcd-test:go1.9.2 \ /bin/bash -c "${TEST_OPTS} ./test 2>&1 | tee test-${TEST_SUFFIX}.log" -! egrep "(--- FAIL:|leak|panic: test timed out)" -A10 -B50 test-${TEST_SUFFIX}.log +! egrep "(--- FAIL:|panic: test timed out|appears to have leaked|Too many goroutines)" -B50 -A10 test-${TEST_SUFFIX}.log \ No newline at end of file