mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-21 21:21:22 +08:00
Fix relocate_extension test
The relocate_extension test used a relative time in the drop_chunks call which makes the test always fail after a certain time. This patch changes the test to use absolute time.
This commit is contained in:
parent
75c0750952
commit
2b646d170f
@ -109,7 +109,7 @@ SELECT AVG(temp) AS avg_tmp, "testSchema0".time_bucket('1 day', time, INTERVAL '
|
||||
|
||||
-- testing time_bucket END
|
||||
-- testing drop_chunks START
|
||||
SELECT "testSchema0".drop_chunks(interval '2 years', 'test_ts');
|
||||
SELECT "testSchema0".drop_chunks('2017-03-01'::timestamp, 'test_ts');
|
||||
drop_chunks
|
||||
-------------
|
||||
|
||||
|
@ -49,7 +49,7 @@ SELECT AVG(temp) AS avg_tmp, "testSchema0".time_bucket('1 day', time, INTERVAL '
|
||||
-- testing time_bucket END
|
||||
|
||||
-- testing drop_chunks START
|
||||
SELECT "testSchema0".drop_chunks(interval '2 years', 'test_ts');
|
||||
SELECT "testSchema0".drop_chunks('2017-03-01'::timestamp, 'test_ts');
|
||||
SELECT * FROM test_ts ORDER BY time;
|
||||
SELECT "testSchema0".drop_chunks(interval '1 minutes', 'test_tz');
|
||||
SELECT * FROM test_tz ORDER BY time;
|
||||
|
Loading…
x
Reference in New Issue
Block a user