Skip to content

Commit

Permalink
sleep を削除する
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexa committed Dec 2, 2024
1 parent cb10a6c commit 5e553b6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test_handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ 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
Expand Down

0 comments on commit 5e553b6

Please sign in to comment.