Skip to content

Commit 4e9dbfc

Browse files
committed
TMP Python
1 parent 1867102 commit 4e9dbfc

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

src/integration-tests/test_restart.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,10 @@ def configure_cluster(cluster: Cluster, is_fsm: bool):
4646
cluster_attr = my_clusters[0].cluster_attributes
4747
cluster_attr.is_cslmode_enabled = is_fsm
4848
cluster_attr.is_fsmworkflow = is_fsm
49-
cluster_attr.doesFSMwriteQLIST = True
49+
cluster_attr.does_fsmwrite_qlist = True
5050
cluster.deploy_domains()
5151

52+
5253
def ensureMessageAtStorageLayer(cluster: Cluster, partitionId: int, queueUri: str, numMessages: int):
5354
'''
5455
Assert that in the `partitionId` of the `cluster`, there are exactly
@@ -154,6 +155,7 @@ def wait_replication():
154155

155156
@tweak.cluster.cluster_attributes.is_cslmode_enabled(False)
156157
@tweak.cluster.cluster_attributes.is_fsmworkflow(False)
158+
@tweak.cluster.cluster_attributes.does_fsmwrite_qlist(True)
157159
def test_restart_between_non_FSM_and_FSM(cluster: Cluster, domain_urls: tc.DomainUrls):
158160
"""
159161
This test verifies that we can safely switch clusters between non-FSM and

src/python/blazingmq/dev/configurator/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ def _cluster_definition_partial_prototype(partition_config: mqbcfg.PartitionConf
318318
ack_window_size=500,
319319
),
320320
cluster_attributes=mqbcfg.ClusterAttributes(
321-
is_cslmode_enabled=True, is_fsmworkflow=True
321+
is_cslmode_enabled=True, is_fsmworkflow=True, does_fsmwrite_qlist = True
322322
),
323323
cluster_monitor_config=mqbcfg.ClusterMonitorConfig(
324324
max_time_leader=15,

src/python/blazingmq/dev/it/fixtures.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,7 @@ def tweak(self, cluster: mqbcfg.ClusterDefinition):
481481
# CSL and FSM settings must be either both enabled or both disabled
482482
cluster.cluster_attributes.is_cslmode_enabled = self == Mode.FSM
483483
cluster.cluster_attributes.is_fsmworkflow = self == Mode.FSM
484+
cluster.cluster_attributes.does_fsmwrite_qlist = True
484485

485486
@property
486487
def suffix(self) -> str:

0 commit comments

Comments
 (0)