Skip to content

Commit

Permalink
Fixed RESQL test cases for DBMS Schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay-joshi committed Mar 18, 2024
1 parent 097b630 commit c56aef3
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions docs/en_US/release_notes_8_5.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Bundled PostgreSQL Utilities
New features
************

| `Issue #7098 <https://github.com/pgadmin-org/pgadmin4/issues/7098>`_ - Added support for EDB Job Scheduler.
| `Issue #7163 <https://github.com/pgadmin-org/pgadmin4/issues/7163>`_ - Added support to exclude multiple tables while taking backup.
Housekeeping
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
EXEC dbms_scheduler.CREATE_SCHEDULE(
schedule_name => 'dbms_test_sch_yearly',
repeat_interval => 'FREQ=YEARLY;BYMONTH=JAN,MAY,DEC;BYMONTHDAY=2,8,31,27;BYDAY=SUN,MON,TUE,WED,THU,FRI,SAT;BYHOUR=05,18,22;BYMINUTE=45,37,58',
start_date => '2024-02-27 00:00:00+05:30',
end_date => '2024-02-28 00:00:00+05:30',
start_date => '<TIMESTAMPTZ_1>',
end_date => '<TIMESTAMPTZ_2>',
comments => 'This is yearly test schedule'
);
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
EXEC dbms_scheduler.CREATE_SCHEDULE(
schedule_name => 'dbms_test_sch_yearly_by_date',
repeat_interval => 'FREQ=YEARLY;BYDATE=20250113;',
start_date => '2024-02-27 00:00:00+05:30',
end_date => '2024-02-28 00:00:00+05:30',
start_date => '<TIMESTAMPTZ_1>',
end_date => '<TIMESTAMPTZ_2>',
comments => 'This is yearly by date test schedule'
);
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
EXEC dbms_scheduler.CREATE_SCHEDULE(
schedule_name => 'dbms_test_sch_monthly_start_date',
repeat_interval => 'FREQ=MONTHLY;',
start_date => '2024-02-27 00:00:00+05:30');
start_date => '<TIMESTAMPTZ_1>');
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"jsschours": ["05", "18", "22"],
"jsscminutes": ["45", "37", "58"]
},
"convert_timestamp_columns": ["jsscstart","jsscend"],
"expected_sql_file": "create_schedule_all.sql",
"expected_msql_file": "create_schedule_all_msql.sql"
},
Expand Down Expand Up @@ -71,6 +72,7 @@
"jsschours": [],
"jsscminutes": []
},
"convert_timestamp_columns": ["jsscstart","jsscend"],
"expected_sql_file": "create_schedule_bydate.sql",
"expected_msql_file": "create_schedule_bydate_msql.sql"
},
Expand Down Expand Up @@ -102,6 +104,7 @@
"jsschours": [],
"jsscminutes": []
},
"convert_timestamp_columns": ["jsscstart"],
"expected_sql_file": "create_schedule_start_date.sql",
"expected_msql_file": "create_schedule_start_date_msql.sql"
},
Expand Down

0 comments on commit c56aef3

Please sign in to comment.