Skip to content

Commit

Permalink
fix test by setting default luashareddicts
Browse files Browse the repository at this point in the history
  • Loading branch information
ElvinEfendi committed Aug 15, 2019
1 parent 6a293c7 commit 94052b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/ingress/controller/template/configmap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ func TestMergeConfigMapToStruct(t *testing.T) {
}

def = config.NewDefault()
def.LuaSharedDicts = map[string]int{"configuration_data": 20, "certificate_data": 20}
def.DisableIpv6DNS = true

hash, err = hashstructure.Hash(def, &hashstructure.HashOptions{
Expand All @@ -142,6 +143,7 @@ func TestMergeConfigMapToStruct(t *testing.T) {
}

def = config.NewDefault()
def.LuaSharedDicts = map[string]int{"configuration_data": 20, "certificate_data": 20}
def.WhitelistSourceRange = []string{"1.1.1.1/32"}
def.DisableIpv6DNS = true

Expand Down

0 comments on commit 94052b1

Please sign in to comment.