Fix flaky test bgw_db_scheduler_fixed

The flakiness was due to two inserts falling into the
same chunk instead of distinct ones, so inserted data
further apart to ensure they fall in different chunks.
This commit is contained in:
Konstantina Skovola 2023-06-23 15:35:15 +03:00 committed by Konstantina Skovola
parent d223000036
commit a22e732c02
2 changed files with 2 additions and 2 deletions

View File

@ -1626,7 +1626,7 @@ INSERT INTO test_table_scheduler values
(now() - interval '4 years', 1, 1),
(now() - interval '2 years', 1, 1),
(now() - interval '1 years', 2, 2),
(now() - interval '4 months', 3, 3),
(now() - interval '6 months', 3, 3),
(now() - interval '3 months', 4, 4);
CREATE MATERIALIZED VIEW cagg_scheduler(time, avg_a)
WITH (timescaledb.continuous) AS

View File

@ -703,7 +703,7 @@ INSERT INTO test_table_scheduler values
(now() - interval '4 years', 1, 1),
(now() - interval '2 years', 1, 1),
(now() - interval '1 years', 2, 2),
(now() - interval '4 months', 3, 3),
(now() - interval '6 months', 3, 3),
(now() - interval '3 months', 4, 4);
CREATE MATERIALIZED VIEW cagg_scheduler(time, avg_a)