mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 11:11:30 -04:00
Increase time for sleep call after write in test
This commit is contained in:
parent
b508457c0f
commit
cb99d97760
1 changed files with 2 additions and 1 deletions
|
@ -214,7 +214,8 @@ func TestQueuePacketConnWriteToKCP(t *testing.T) {
|
|||
}
|
||||
|
||||
// A sleep after the Write makes buffer reuse more likely.
|
||||
time.Sleep(100 * time.Millisecond)
|
||||
// We need to sleep to allow the connection to flush after close
|
||||
time.Sleep(1 * time.Second)
|
||||
|
||||
if len(transcript.Transcript) == 0 {
|
||||
panic("empty transcript")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue