Skip to content

Commit f3fabf4

Browse files
committed
changefeedccl: fix TestAlterChangefeedAddTargetsDuringSchemaChangeError
This patch deflakes a unit test that started failing because the change to checkpoint aggregators regularly meant that setting a low span-level checkpoint interval wasn't enough to make sure a checkpoint happened quickly enough during the test. Release note: None
1 parent 3cb6e13 commit f3fabf4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/ccl/changefeedccl/alter_changefeed_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1349,7 +1349,8 @@ func TestAlterChangefeedAddTargetsDuringSchemaChangeError(t *testing.T) {
13491349
return nil
13501350
}
13511351

1352-
testFeed := feed(t, f, `CREATE CHANGEFEED FOR foo WITH resolved = '1s', no_initial_scan`)
1352+
testFeed := feed(t, f, `CREATE CHANGEFEED FOR foo
1353+
WITH resolved = '1s', no_initial_scan, min_checkpoint_frequency='1ns'`)
13531354
jobFeed := testFeed.(cdctest.EnterpriseTestFeed)
13541355
jobRegistry := s.Server.JobRegistry().(*jobs.Registry)
13551356

0 commit comments

Comments
 (0)