Merge branch 'origin/main' into 'next-release/main'

This commit is contained in:
oauth 2024-09-22 16:45:42 +00:00
commit 52c2462261

View file

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