You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ba...@apache.org on 2023/03/01 01:19:24 UTC
[pulsar-client-go] branch master updated: Fix flaky Key_Shared subscription related tests (#970)
This is an automated email from the ASF dual-hosted git repository.
baodi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-client-go.git
The following commit(s) were added to refs/heads/master by this push:
new d60bff6 Fix flaky Key_Shared subscription related tests (#970)
d60bff6 is described below
commit d60bff69d2e59228cad64be74a2d31256fd3a5fa
Author: Yunze Xu <xy...@163.com>
AuthorDate: Wed Mar 1 09:19:16 2023 +0800
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 334fc87..c816c8f 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