From d77c2691f6266bbbefa12abf2931c01f989f87f4 Mon Sep 17 00:00:00 2001 From: Fenny <25108519+Fenny@users.noreply.github.com> Date: Sat, 18 Jul 2020 01:31:39 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20=E0=BC=BC=20=E0=B2=A5=D9=84?= =?UTF-8?q?=CD=9F=E0=B2=A5=20=E0=BC=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prefork_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/prefork_test.go b/prefork_test.go index fb273f9a..5dba04e2 100644 --- a/prefork_test.go +++ b/prefork_test.go @@ -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