diff --git a/gnet_test.go b/gnet_test.go index 20d009bb9..2b02a08b6 100644 --- a/gnet_test.go +++ b/gnet_test.go @@ -1604,13 +1604,13 @@ func (t *testDisconnectedAsyncWriteServer) OnTick() (delay time.Duration, action func TestDisconnectedAsyncWrite(t *testing.T) { t.Run("async-write", func(t *testing.T) { - events := &testDisconnectedAsyncWriteServer{tester: t, addr: ":9990"} - err := Run(events, "tcp://:9990", WithTicker(true)) + events := &testDisconnectedAsyncWriteServer{tester: t, addr: ":10000"} + err := Run(events, "tcp://:10000", WithTicker(true)) assert.NoError(t, err) }) t.Run("async-writev", func(t *testing.T) { - events := &testDisconnectedAsyncWriteServer{tester: t, addr: ":9991", writev: true} - err := Run(events, "tcp://:9991", WithTicker(true)) + events := &testDisconnectedAsyncWriteServer{tester: t, addr: ":10001", writev: true} + err := Run(events, "tcp://:10001", WithTicker(true)) assert.NoError(t, err) }) }