Skip to content

Commit e5c0939

Browse files
committed
Drop the test of the deleted SetDefault; use main's reference tests
1 parent 48f7a91 commit e5c0939

4 files changed

Lines changed: 5 additions & 42 deletions

File tree

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# The schedule of viaref is a reference to the whole schedule of another job.
2-
# The defaults set schedule.pause_status (and trigger, continuous) of every job by path, which cannot be done in a reference.
2+
# The defaults (e.g. pause_status) are not written into the reference; the referenced schedule gets them.
33
trace $CLI bundle validate
4+
trace $CLI bundle plan -o json | jq '.plan."resources.jobs.viaref".new_state.value.schedule'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Badness = "The required-field check looks inside the reference and reports quartz_cron_expression and timezone_id as not set; main does the same for a queue reference (enabled)."
1+
Badness = "The required-field check looks inside the reference: it warns that quartz_cron_expression and timezone_id are not set at resources.jobs.viaref.schedule, although the referenced schedule sets both."
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# The trigger of viaref is a reference to the whole trigger of another job.
2-
# The defaults set trigger.pause_status (and trigger, continuous) of every job by path, which cannot be done in a reference.
2+
# The defaults (e.g. pause_status) are not written into the reference; the referenced trigger gets them.
33
trace $CLI bundle validate
4+
trace $CLI bundle plan -o json | jq '.plan."resources.jobs.viaref".new_state.value.trigger'

‎bundle/set_default_test.go‎

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)