diff --git a/app_test.go b/app_test.go index ed213b08..a221a117 100644 --- a/app_test.go +++ b/app_test.go @@ -754,7 +754,7 @@ func Test_App_Listen(t *testing.T) { utils.AssertEqual(t, nil, app.Shutdown()) }() - utils.AssertEqual(t, nil, app.Listen("4010")) + utils.AssertEqual(t, nil, app.Listen("[::]:4010")) } // go test -run Test_App_Listener diff --git a/prefork_test.go b/prefork_test.go index 201226a3..d9553c97 100644 --- a/prefork_test.go +++ b/prefork_test.go @@ -28,7 +28,7 @@ func Test_App_Prefork_Child_Process(t *testing.T) { utils.AssertEqual(t, nil, app.Shutdown()) }() - utils.AssertEqual(t, nil, app.prefork("127.0.0.1:")) + utils.AssertEqual(t, nil, app.prefork("[::]:")) // Create tls certificate cer, err := tls.LoadX509KeyPair("./.github/TEST_DATA/ssl.pem", "./.github/TEST_DATA/ssl.key") @@ -57,7 +57,7 @@ func Test_App_Prefork_Master_Process(t *testing.T) { utils.AssertEqual(t, nil, app.Shutdown()) }() - utils.AssertEqual(t, nil, app.prefork("127.0.0.1:")) + utils.AssertEqual(t, nil, app.prefork(":3000")) dummyChildCmd = "invalid"