diff --git a/internal/controllers/control/cassandratask_controller_test.go b/internal/controllers/control/cassandratask_controller_test.go index 4a019845..58b74a86 100644 --- a/internal/controllers/control/cassandratask_controller_test.go +++ b/internal/controllers/control/cassandratask_controller_test.go @@ -628,6 +628,7 @@ var _ = Describe("CassandraTask controller tests", func() { It("Runs a ts reload task against a pod", func() { By("Creating a task for tsreload") taskKey, task := buildTask(api.CommandTSReload, testNamespaceName) + task.Spec.Jobs[0].Arguments.PodName = fmt.Sprintf("%s-%s-r0-sts-0", clusterName, testDatacenterName) Expect(k8sClient.Create(context.Background(), task)).Should(Succeed()) completedTask := waitForTaskCompletion(taskKey)