diff --git a/test_handler_test.go b/test_handler_test.go index 506a6c4..8986a7f 100644 --- a/test_handler_test.go +++ b/test_handler_test.go @@ -63,6 +63,9 @@ func readDumpFile(t *testing.T, filename string, d time.Duration) *io.PipeReader t.Error(err.Error()) return } + + // 閉じてしまうとすぐに EOF で切断状態になるため少し待つ + time.Sleep(2 * time.Second) }() return r