diff --git a/tests/robustness/powerfailure_test.go b/tests/robustness/powerfailure_test.go index 35ed628b4..d8c497e0a 100644 --- a/tests/robustness/powerfailure_test.go +++ b/tests/robustness/powerfailure_test.go @@ -150,6 +150,7 @@ func doPowerFailure(t *testing.T, du time.Duration, fsType dmflakey.FSType, mkfs "-path", dbPath, "-count=1000000000", "-batch-size=5", // separate total count into multiple truncation + "-value-size=512", } logPath := filepath.Join(t.TempDir(), fmt.Sprintf("%s.log", t.Name())) @@ -196,7 +197,7 @@ func doPowerFailure(t *testing.T, du time.Duration, fsType dmflakey.FSType, mkfs select { case <-time.After(10 * time.Second): - t.Error("bbolt should stop with panic in seconds") + t.Log("bbolt is supposed to be already stopped, but actually not yet; forcibly kill it") assert.NoError(t, cmd.Process.Kill()) case err := <-errCh: require.Error(t, err)