mirror of
https://github.com/logos-messaging/logos-messaging-go.git
synced 2026-01-08 17:03:09 +00:00
fix: increase timeout
This commit is contained in:
parent
b14f4a9aa8
commit
623e0705c5
@ -48,7 +48,7 @@ func Test5000(t *testing.T) {
|
|||||||
maxMsgs := 5000
|
maxMsgs := 5000
|
||||||
maxMsgBytes := int2Bytes(maxMsgs)
|
maxMsgBytes := int2Bytes(maxMsgs)
|
||||||
|
|
||||||
ctx, cancel := context.WithTimeout(context.Background(), 20*time.Second)
|
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
|
||||||
defer cancel()
|
defer cancel()
|
||||||
|
|
||||||
hostAddr1, _ := net.ResolveTCPAddr("tcp", "0.0.0.0:0")
|
hostAddr1, _ := net.ResolveTCPAddr("tcp", "0.0.0.0:0")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user