From 5d8fa34115c9b07715d609607ad002c2fb56a25e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Ma=C5=82ek?= Date: Wed, 4 Dec 2024 22:07:02 +0100 Subject: [PATCH] tests: fix Konnect integration tests --- Makefile | 1 + tests/integration/sync_test.go | 3 +++ .../dump/002-skip-consumers/expected-no-skip_konnect.yaml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/Makefile b/Makefile index c4c6bf028..b31594126 100644 --- a/Makefile +++ b/Makefile @@ -39,6 +39,7 @@ setup-kong-ee: test-integration: go test -v -count=1 -tags=integration \ -race \ + $(GOTESTFLAGS) \ ./tests/integration/... .PHONY: clean diff --git a/tests/integration/sync_test.go b/tests/integration/sync_test.go index 746de8f0e..ca5e084ad 100644 --- a/tests/integration/sync_test.go +++ b/tests/integration/sync_test.go @@ -1397,6 +1397,7 @@ var ( ID: kong.String("77e6691d-67c0-446a-9401-27be2b141aae"), }, Config: kong.Configuration{ + "compound_identifier": nil, "consumer_groups": nil, "dictionary_name": string("kong_rate_limiting_counters"), "disable_penalty": bool(false), @@ -1447,6 +1448,7 @@ var ( ID: kong.String("5bcbd3a7-030b-4310-bd1d-2721ff85d236"), }, Config: kong.Configuration{ + "compound_identifier": nil, "consumer_groups": nil, "dictionary_name": string("kong_rate_limiting_counters"), "disable_penalty": bool(false), @@ -1494,6 +1496,7 @@ var ( { Name: kong.String("rate-limiting-advanced"), Config: kong.Configuration{ + "compound_identifier": nil, "consumer_groups": nil, "dictionary_name": string("kong_rate_limiting_counters"), "disable_penalty": bool(false), diff --git a/tests/integration/testdata/dump/002-skip-consumers/expected-no-skip_konnect.yaml b/tests/integration/testdata/dump/002-skip-consumers/expected-no-skip_konnect.yaml index aea340bc6..7080d6137 100644 --- a/tests/integration/testdata/dump/002-skip-consumers/expected-no-skip_konnect.yaml +++ b/tests/integration/testdata/dump/002-skip-consumers/expected-no-skip_konnect.yaml @@ -5,6 +5,7 @@ consumer_groups: - name: basic plugins: - config: + compound_identifier: null consumer_groups: null dictionary_name: kong_rate_limiting_counters disable_penalty: false @@ -32,6 +33,7 @@ consumer_groups: password: null port: 6379 read_timeout: 2000 + redis_proxy_type: null send_timeout: 2000 sentinel_addresses: null sentinel_master: null