From 94052b1bfc498545ca2efb9542046ce1bd3b23f2 Mon Sep 17 00:00:00 2001 From: Elvin Efendi Date: Wed, 14 Aug 2019 22:10:35 -0400 Subject: [PATCH] fix test by setting default luashareddicts --- internal/ingress/controller/template/configmap_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/ingress/controller/template/configmap_test.go b/internal/ingress/controller/template/configmap_test.go index 02215e303..d6f40797e 100644 --- a/internal/ingress/controller/template/configmap_test.go +++ b/internal/ingress/controller/template/configmap_test.go @@ -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{ @@ -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