1
0
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:
6543
2025-10-02 08:17:47 +02:00
committed by GitHub
parent 53f1b9afde
commit a68111fb24

View File

@@ -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 {