Skip to content

Commit 12638b5

Browse files
committed
Fix mismatched integration test
1 parent 1a57500 commit 12638b5

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

hoptimator-k8s/src/test/resources/k8s-trigger-fire.id

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,16 @@ drop trigger testfire;
3434
!update
3535

3636
# FIRE with a backfill window: FROM/TO requests a one-off backfill without mutating the spec.
37+
# A backfill can only cover already-processed history, so a freshly-created trigger with no
38+
# watermark yet is rejected — there is nothing to backfill.
3739
create trigger testfirewindow on ads_catalog.ads.ad_clicks as 'my-app' in 'my-mp' with ('job.properties.foo' 'initial');
3840
(0 rows modified)
3941

4042
!update
4143

4244
fire trigger testfirewindow from '2026-04-01' to '2026-04-08';
43-
(0 rows modified)
44-
45-
!update
45+
Cannot backfill trigger TESTFIREWINDOW: it has no watermark yet, so there is no processed history to backfill.
46+
!error
4647

4748
drop trigger testfirewindow;
4849
(0 rows modified)

0 commit comments

Comments
 (0)