Skip to content

Commit 4a233bf

Browse files
committed
Merge pull request apache#477 from datastax/ccm-workloads
Changing set_workload call to match latest changes in ccm
2 parents 7379472 + b408c16 commit 4a233bf

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/integration/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,7 @@ def use_cluster(cluster_name, nodes, ipformat=None, start=True, workloads=[]):
267267
if start:
268268
if(len(workloads) > 0):
269269
for node in CCM_CLUSTER.nodes.values():
270-
for workload in workloads:
271-
node.set_workload(workload)
270+
node.set_workloads(workloads)
272271
log.debug("Starting CCM cluster: {0}".format(cluster_name))
273272
CCM_CLUSTER.start(wait_for_binary_proto=True, wait_other_notice=True, jvm_args=jvm_args)
274273
#Added to wait for slow nodes to start up

0 commit comments

Comments
 (0)