🩹 ༼ ಥل͟ಥ ༽

pull/633/head
Fenny 2020-07-18 01:31:39 +02:00
parent c9cb30766c
commit d77c2691f6
1 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,8 @@ import (
)
func Test_App_Prefork_Child_Process(t *testing.T) {
testPreforkMaster = false
utils.AssertEqual(t, nil, os.Setenv(envPreforkChildKey, envPreforkChildVal))
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) {
testPreforkMaster = false
app := New()
app.Settings.Prefork = true
app.Settings.DisableStartupMessage = true