From 782c99a4a2af46fc07d7cce95d3d4de54bdcdd3f Mon Sep 17 00:00:00 2001 From: Milanka00 Date: Mon, 24 Jun 2024 08:59:28 +0530 Subject: [PATCH] fixes to test failure --- adapter/internal/oasparser/envoyconf/listener_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapter/internal/oasparser/envoyconf/listener_test.go b/adapter/internal/oasparser/envoyconf/listener_test.go index 493c57e131..bccc0920f5 100644 --- a/adapter/internal/oasparser/envoyconf/listener_test.go +++ b/adapter/internal/oasparser/envoyconf/listener_test.go @@ -31,7 +31,7 @@ func TestCreateListenerWithRds(t *testing.T) { // TODO: (Vajira) Add more test scenarios listeners := CreateListenersWithRds() assert.NotEmpty(t, listeners, "Listeners creation has been failed") - assert.Equal(t, 3, len(listeners), "Two listeners are not created.") + assert.Equal(t, 2, len(listeners), "Two listeners are not created.") securedListener := listeners[0] if securedListener.Validate() != nil {