From acfa6010757d06acde3660fa1c6821a8d49d2007 Mon Sep 17 00:00:00 2001 From: Anthony Romano Date: Fri, 6 Jan 2017 02:03:55 -0800 Subject: [PATCH] e2e: dump stack on ctlTest timeout Figure out which process is blocking for Elect/Lock test timeouts. --- e2e/ctl_v3_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/ctl_v3_test.go b/e2e/ctl_v3_test.go index 24de4e568..ffbb6c2f3 100644 --- a/e2e/ctl_v3_test.go +++ b/e2e/ctl_v3_test.go @@ -163,7 +163,7 @@ func testCtl(t *testing.T, testFunc func(ctlCtx), opts ...ctlOption) { } select { case <-time.After(timeout): - t.Fatalf("test timed out after %v", timeout) + testutil.FatalStack(t, fmt.Sprintf("test timed out after %v", timeout)) case <-donec: } }