mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed RESQL test cases for DBMS Schedule
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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'
|
||||
);
|
||||
|
||||
@@ -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'
|
||||
);
|
||||
|
||||
@@ -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>');
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
@@ -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"
|
||||
},
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user