Skip to content

Commit

Permalink
add schedule to two of the create monitor cases quality_monitor_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
xinyijiang-db authored Nov 18, 2024
1 parent cd0ae4c commit 9d898c0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions internal/acceptance/quality_monitor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ func TestUcAccQualityMonitor(t *testing.T) {
model_id_col = "model_id"
problem_type = "PROBLEM_TYPE_REGRESSION"
}
schedule=MonitorCronSchedule(
quartz_cron_expression="0 0 12 * * ?", # schedules a refresh every day at 12 noon
timezone_id="PST"
)
}
resource "databricks_sql_table" "myTimeseries" {
Expand All @@ -87,6 +91,10 @@ func TestUcAccQualityMonitor(t *testing.T) {
granularities = ["1 day"]
timestamp_col = "timestamp"
}
schedule=MonitorCronSchedule(
quartz_cron_expression="0 0 12 * * ?", # schedules a refresh every day at 12 noon
timezone_id="PST"
)
}
resource "databricks_sql_table" "mySnapshot" {
Expand Down

0 comments on commit 9d898c0

Please sign in to comment.