Skip to content

Commit 8a5a804

Browse files
committed
fix testcase
1 parent 41a4387 commit 8a5a804

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

test/cluster/cluster_helper.go

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,14 +1408,7 @@ func aerospikeClusterCreateUpdateWithTO(
14081408

14091409
current.Spec.AerospikeConfig.Value = desired.Spec.AerospikeConfig.DeepCopy().Value
14101410

1411-
if err := k8sClient.Update(ctx, current); err != nil {
1412-
return err
1413-
}
1414-
1415-
return waitForAerospikeCluster(
1416-
k8sClient, ctx, desired, int(desired.Spec.Size), retryInterval, timeout,
1417-
[]asdbv1.AerospikeClusterPhase{asdbv1.AerospikeClusterCompleted},
1418-
)
1411+
return updateClusterWithTO(k8sClient, ctx, current, timeout)
14191412
}
14201413

14211414
func aerospikeClusterCreateUpdate(

0 commit comments

Comments
 (0)