Skip to content

Commit fdb6651

Browse files
committed
roachtest: remove unused parameter in rebalance
Epic: None Release note: None
1 parent 9b14c45 commit fdb6651

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pkg/cmd/roachtest/tests/rebalance_load.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func registerRebalanceLoad(r registry.Registry) {
114114
func(ctx context.Context, l *logger.Logger, r *rand.Rand, h *mixedversion.Helper) error {
115115
binary := uploadCockroach(ctx, t, c, appNode, h.System.FromVersion)
116116
return rebalanceByLoad(
117-
ctx, t, l, c, rebalanceMode, maxDuration, concurrency, appNode,
117+
ctx, t, l, c, maxDuration, concurrency, appNode,
118118
fmt.Sprintf("%s workload", binary), numStores, numNodes)
119119
})
120120
mvt.Run()
@@ -123,7 +123,7 @@ func registerRebalanceLoad(r registry.Registry) {
123123
// a failure it will be available in the artifacts.
124124
c.Start(ctx, t.L(), startOpts, settings, roachNodes)
125125
require.NoError(t, rebalanceByLoad(
126-
ctx, t, t.L(), c, rebalanceMode, maxDuration,
126+
ctx, t, t.L(), c, maxDuration,
127127
concurrency, appNode, "./cockroach workload", numStores, numNodes,
128128
))
129129
}
@@ -238,7 +238,6 @@ func rebalanceByLoad(
238238
t test.Test,
239239
l *logger.Logger,
240240
c cluster.Cluster,
241-
rebalanceMode string,
242241
maxDuration time.Duration,
243242
concurrency int,
244243
appNode option.NodeListOption,

0 commit comments

Comments
 (0)