Align task schedule optional fields with shared schema
This commit is contained in:
@@ -210,6 +210,9 @@ func TestDispatcherCommandStartsWithIsolatedMQHTTPAndAgent(t *testing.T) {
|
||||
taskSchedule := taskConfig["schedule"].(map[string]any)
|
||||
taskSchedule["starts_at"] = "2000-01-01T00:00:00+08:00"
|
||||
taskSchedule["weekly_windows"] = weekly
|
||||
// Exercise the current contract through HTTP, persistence, MQ and mTLS.
|
||||
delete(taskSchedule, "ends_at")
|
||||
delete(taskSchedule, "excluded_dates")
|
||||
if examples["config-read-task-asr.json"], err = json.Marshal(taskConfig); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user