Skip to content

Commit

Permalink
Fix flaky Key_Shared subscription related tests (#970)
Browse files Browse the repository at this point in the history
### Motivation

After #953, the Pulsar
version was upgraded from 2.8.3 to 2.10.3. However,
[PIP-119](apache/pulsar#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`.
  • Loading branch information
BewareMyPower authored Mar 1, 2023
1 parent e2ea255 commit d60bff6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion integration-tests/conf/standalone.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
systemTopicSchemaCompatibilityStrategy=ALWAYS_COMPATIBLE

subscriptionKeySharedUseConsistentHashing=false

0 comments on commit d60bff6

Please sign in to comment.