diff --git a/client/client_test.go b/client/client_test.go index 2c0807c..fb9f1dd 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -811,7 +811,7 @@ func waitForBackgroundSavesToComplete(t *testing.T) { return } lastOut = stdout.String() - lastErr = stdout.String() + lastErr = stderr.String() time.Sleep(50 * time.Millisecond) } t.Fatalf("failed to wait until hishtory wasn't running (lastOut=%#v, lastErr=%#v)", lastOut, lastErr)