mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
e2e: dump stack on ctlTest timeout
Figure out which process is blocking for Elect/Lock test timeouts.
This commit is contained in:
parent
154f268031
commit
acfa601075
@ -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:
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user