From 099f4f24812d95cda19af749ee1978312ea4853a Mon Sep 17 00:00:00 2001 From: Alex Snaps Date: Thu, 23 Nov 2023 08:58:18 -0500 Subject: [PATCH] Fix unit tests --- pkg/rlptools/utils_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/rlptools/utils_test.go b/pkg/rlptools/utils_test.go index 79677dba6..c20db49ee 100644 --- a/pkg/rlptools/utils_test.go +++ b/pkg/rlptools/utils_test.go @@ -193,6 +193,7 @@ func TestLimitadorRateLimitsFromRLP(t *testing.T) { Seconds: 10, Conditions: []string{`limit.l1__2804bad6 == "1"`}, Variables: []string{}, + Name: "testNS/rlpA", }, }, }, @@ -206,6 +207,7 @@ func TestLimitadorRateLimitsFromRLP(t *testing.T) { Seconds: 10, Conditions: []string{`limit.l1__2804bad6 == "1"`}, Variables: []string{}, + Name: "testNS/rlpA", }, { Namespace: "testNS/rlpA", @@ -213,6 +215,7 @@ func TestLimitadorRateLimitsFromRLP(t *testing.T) { Seconds: 3600, Conditions: []string{`limit.l2__8a1cee43 == "1"`}, Variables: []string{}, + Name: "testNS/rlpA", }, }, }, @@ -226,6 +229,7 @@ func TestLimitadorRateLimitsFromRLP(t *testing.T) { Seconds: 10, Conditions: []string{`limit.l1__2804bad6 == "1"`}, Variables: []string{}, + Name: "testNS/rlpA", }, { Namespace: "testNS/rlpA", @@ -233,6 +237,7 @@ func TestLimitadorRateLimitsFromRLP(t *testing.T) { Seconds: 60, Conditions: []string{`limit.l1__2804bad6 == "1"`}, Variables: []string{}, + Name: "testNS/rlpA", }, }, }, @@ -246,6 +251,7 @@ func TestLimitadorRateLimitsFromRLP(t *testing.T) { Seconds: 10, Conditions: []string{`limit.l1__2804bad6 == "1"`}, Variables: []string{"request.path"}, + Name: "testNS/rlpA", }, }, },