mirror of
https://github.com/gofiber/fiber.git
synced 2025-05-31 11:52:41 +00:00
🍡 o͡͡͡╮༼ ಠДಠ ༽╭o͡͡͡━☆゚.*・。゚ IPv6 support for Prefork
This commit is contained in:
parent
d77c2691f6
commit
5218eb462d
@ -12,7 +12,8 @@ import (
|
||||
)
|
||||
|
||||
func Test_App_Prefork_Child_Process(t *testing.T) {
|
||||
testPreforkMaster = false
|
||||
// Reset test var
|
||||
testPreforkMaster = true
|
||||
|
||||
utils.AssertEqual(t, nil, os.Setenv(envPreforkChildKey, envPreforkChildVal))
|
||||
defer os.Setenv(envPreforkChildKey, "")
|
||||
@ -46,6 +47,7 @@ func Test_App_Prefork_Child_Process(t *testing.T) {
|
||||
}
|
||||
|
||||
func Test_App_Prefork_Master_Process(t *testing.T) {
|
||||
// Reset test var
|
||||
testPreforkMaster = true
|
||||
|
||||
app := New()
|
||||
@ -65,7 +67,8 @@ func Test_App_Prefork_Master_Process(t *testing.T) {
|
||||
}
|
||||
|
||||
func Test_App_Prefork_TCP6_Addr(t *testing.T) {
|
||||
testPreforkMaster = false
|
||||
// Reset test var
|
||||
testPreforkMaster = true
|
||||
|
||||
app := New()
|
||||
app.Settings.Prefork = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user