mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 11:51:02 +00:00
Merge branch 'origin/main' into 'next-release/main'
This commit is contained in:
commit
52c2462261
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ func TestCopyLineByLine(t *testing.T) {
|
||||||
assert.Lenf(t, writes, 2, "expected 2 writes, got: %v", writes)
|
assert.Lenf(t, writes, 2, "expected 2 writes, got: %v", writes)
|
||||||
|
|
||||||
// wait for the goroutine to write the data
|
// wait for the goroutine to write the data
|
||||||
time.Sleep(time.Millisecond)
|
time.Sleep(10 * time.Millisecond)
|
||||||
|
|
||||||
writtenData := strings.Join(writes, "-")
|
writtenData := strings.Join(writes, "-")
|
||||||
assert.Equal(t, "12345\n-678\n", writtenData, "unexpected writtenData: %s", writtenData)
|
assert.Equal(t, "12345\n-678\n", writtenData, "unexpected writtenData: %s", writtenData)
|
||||||
|
|
Loading…
Reference in a new issue