You've already forked woodpecker
mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-06 21:57:01 +02:00
Make TestCopyLineByLine less flaky (#5589)
This commit is contained in:
@@ -64,7 +64,7 @@ func TestCopyLineByLine(t *testing.T) {
|
||||
}()
|
||||
|
||||
// wait for the goroutine to start
|
||||
time.Sleep(time.Millisecond)
|
||||
time.Sleep(time.Second / 10)
|
||||
|
||||
// write 4 bytes without newline
|
||||
if _, err := w.Write([]byte("1234")); err != nil {
|
||||
|
Reference in New Issue
Block a user