From d60bff69d2e59228cad64be74a2d31256fd3a5fa Mon Sep 17 00:00:00 2001 From: Yunze Xu Date: Wed, 1 Mar 2023 09:19:16 +0800 Subject: [PATCH] Fix flaky Key_Shared subscription related tests (#970) ### Motivation After https://github.com/apache/pulsar-client-go/pull/953, the Pulsar version was upgraded from 2.8.3 to 2.10.3. However, [PIP-119](https://github.com/apache/pulsar/pull/13352) changed the default value of `subscriptionKeySharedUseConsistentHashing` to true, which leads to the flakiness of Key_Shared subscription related tests. Example: https://github.com/apache/pulsar-client-go/actions/runs/4291098473/jobs/7475868787 ### Modifications Configure `subscriptionKeySharedUseConsistentHashing` with `false`. --- integration-tests/conf/standalone.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/integration-tests/conf/standalone.conf b/integration-tests/conf/standalone.conf index 334fc87d2a..c816c8fd16 100644 --- a/integration-tests/conf/standalone.conf +++ b/integration-tests/conf/standalone.conf @@ -312,4 +312,6 @@ systemTopicEnabled=true # The schema compatibility strategy is used for system topics. # Available values: ALWAYS_INCOMPATIBLE, ALWAYS_COMPATIBLE, BACKWARD, FORWARD, FULL, BACKWARD_TRANSITIVE, FORWARD_TRANSITIVE, FULL_TRANSITIVE -systemTopicSchemaCompatibilityStrategy=ALWAYS_COMPATIBLE \ No newline at end of file +systemTopicSchemaCompatibilityStrategy=ALWAYS_COMPATIBLE + +subscriptionKeySharedUseConsistentHashing=false