mirror of https://github.com/gofiber/fiber.git
🩹 ༼ ಥل͟ಥ ༽
parent
c9cb30766c
commit
d77c2691f6
|
@ -12,6 +12,8 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func Test_App_Prefork_Child_Process(t *testing.T) {
|
func Test_App_Prefork_Child_Process(t *testing.T) {
|
||||||
|
testPreforkMaster = false
|
||||||
|
|
||||||
utils.AssertEqual(t, nil, os.Setenv(envPreforkChildKey, envPreforkChildVal))
|
utils.AssertEqual(t, nil, os.Setenv(envPreforkChildKey, envPreforkChildVal))
|
||||||
defer os.Setenv(envPreforkChildKey, "")
|
defer os.Setenv(envPreforkChildKey, "")
|
||||||
|
|
||||||
|
@ -63,6 +65,8 @@ func Test_App_Prefork_Master_Process(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func Test_App_Prefork_TCP6_Addr(t *testing.T) {
|
func Test_App_Prefork_TCP6_Addr(t *testing.T) {
|
||||||
|
testPreforkMaster = false
|
||||||
|
|
||||||
app := New()
|
app := New()
|
||||||
app.Settings.Prefork = true
|
app.Settings.Prefork = true
|
||||||
app.Settings.DisableStartupMessage = true
|
app.Settings.DisableStartupMessage = true
|
||||||
|
|
Loading…
Reference in New Issue