Skip to content

Commit

Permalink
Use America/Los_Angeles in tests instead of PST8PDT (#7416)
Browse files Browse the repository at this point in the history
Follow the PG upstream changes in light of the upcoming timezone
updates. This should fix our regression tests on latest PG snapshots.

postgres/postgres@2b94ee5
(cherry picked from commit 6803dd8)
  • Loading branch information
akuzm authored and timescale-automation committed Nov 6, 2024
1 parent 84dda21 commit ac36797
Show file tree
Hide file tree
Showing 32 changed files with 36 additions and 50 deletions.
3 changes: 0 additions & 3 deletions tsl/test/expected/cagg_watermark.out
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
-- This file and its contents are licensed under the Timescale License.
-- Please see the included NOTICE for copyright information and
-- LICENSE-TIMESCALE for a copy of the license.
SET timezone TO PST8PDT;
\set EXPLAIN_ANALYZE 'EXPLAIN (analyze,costs off,timing off,summary off)'
CREATE TABLE continuous_agg_test(time int, data int);
SELECT create_hypertable('continuous_agg_test', 'time', chunk_time_interval=> 10);
Expand Down Expand Up @@ -75,7 +74,6 @@ SELECT * from _timescaledb_catalog.continuous_aggs_hypertable_invalidation_log;
\c :TEST_DBNAME :ROLE_SUPERUSER
INSERT INTO _timescaledb_catalog.continuous_aggs_invalidation_threshold VALUES (1, 15);
\c :TEST_DBNAME :ROLE_DEFAULT_PERM_USER
SET timezone TO PST8PDT;
INSERT INTO continuous_agg_test VALUES (10, 1), (11, 2), (21, 3), (22, 4);
SELECT * FROM _timescaledb_catalog.continuous_aggs_invalidation_threshold;
hypertable_id | watermark
Expand Down Expand Up @@ -349,7 +347,6 @@ UPDATE _timescaledb_catalog.continuous_aggs_invalidation_threshold
SET watermark = 2
WHERE hypertable_id = 5;
\c :TEST_DBNAME :ROLE_DEFAULT_PERM_USER
SET timezone TO PST8PDT;
INSERT INTO ts_continuous_test VALUES (1, 1);
SELECT * FROM _timescaledb_catalog.continuous_aggs_invalidation_threshold;
hypertable_id | watermark
Expand Down
2 changes: 1 addition & 1 deletion tsl/test/expected/chunk_merge.out
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ CREATE OR REPLACE FUNCTION _timescaledb_internal.test_merge_chunks_on_dimension(
RETURNS VOID
AS :TSL_MODULE_PATHNAME, 'ts_test_merge_chunks_on_dimension' LANGUAGE C VOLATILE;
\c :TEST_DBNAME :ROLE_DEFAULT_PERM_USER
SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';
CREATE TABLE test1 ("Time" timestamptz, i integer, value integer);
SELECT table_name FROM Create_hypertable('test1', 'Time', chunk_time_interval=> INTERVAL '1 hour');
NOTICE: adding not-null constraint to column "Time"
Expand Down
4 changes: 2 additions & 2 deletions tsl/test/expected/compression.out
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-- Please see the included NOTICE for copyright information and
-- LICENSE-TIMESCALE for a copy of the license.
SET timescaledb.enable_transparent_decompression to OFF;
SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';
\set PREFIX 'EXPLAIN (analyze, verbose, costs off, timing off, summary off)'
\ir include/rand_generator.sql
-- This file and its contents are licensed under the Timescale License.
Expand Down Expand Up @@ -1498,7 +1498,7 @@ SET reltuples = 0, relpages = 0
WHERE ht.table_name = 'stattest2' AND ch.hypertable_id = ht.id
AND ch.compressed_chunk_id > 0 );
\c :TEST_DBNAME :ROLE_DEFAULT_PERM_USER
SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';
-- reltuples is initially -1 on PG14 before VACUUM/ANALYZE has been run
SELECT relname, CASE WHEN reltuples > 0 THEN reltuples ELSE 0 END AS reltuples, relpages, relallvisible FROM pg_class
WHERE relname in ( SELECT ch.table_name FROM
Expand Down
4 changes: 2 additions & 2 deletions tsl/test/expected/compression_bgw.out
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CREATE ROLE NOLOGIN_ROLE WITH nologin noinherit;
GRANT CREATE ON SCHEMA public TO NOLOGIN_ROLE;
GRANT NOLOGIN_ROLE TO :ROLE_DEFAULT_PERM_USER WITH ADMIN OPTION;
\c :TEST_DBNAME :ROLE_DEFAULT_PERM_USER
SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';
CREATE TABLE conditions (
time TIMESTAMPTZ NOT NULL,
location TEXT NOT NULL,
Expand Down Expand Up @@ -287,7 +287,7 @@ ERROR: permission denied to start background process as role "nologin_role"
DROP TABLE test_table_nologin;
RESET ROLE;
\c :TEST_DBNAME :ROLE_DEFAULT_PERM_USER
SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';
CREATE TABLE conditions(
time TIMESTAMPTZ NOT NULL,
device INTEGER,
Expand Down
4 changes: 2 additions & 2 deletions tsl/test/expected/compression_ddl.out
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ SET client_min_messages = NOTICE;
CREATE TABLESPACE tablespace1 OWNER :ROLE_DEFAULT_PERM_USER LOCATION :TEST_TABLESPACE1_PATH;
CREATE TABLESPACE tablespace2 OWNER :ROLE_DEFAULT_PERM_USER LOCATION :TEST_TABLESPACE2_PATH;
\c :TEST_DBNAME :ROLE_DEFAULT_PERM_USER
SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';
CREATE TABLE test1 ("Time" timestamptz, i integer, b bigint, t text);
SELECT table_name from create_hypertable('test1', 'Time', chunk_time_interval=> INTERVAL '1 day');
NOTICE: adding not-null constraint to column "Time"
Expand Down Expand Up @@ -563,7 +563,7 @@ SELECT count(*) FROM test1_cont_view;
(1 row)

\c :TEST_DBNAME :ROLE_SUPERUSER
SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';
SELECT chunk.schema_name|| '.' || chunk.table_name as "COMPRESSED_CHUNK_NAME"
FROM _timescaledb_catalog.chunk chunk
INNER JOIN _timescaledb_catalog.hypertable comp_hyper ON (chunk.hypertable_id = comp_hyper.id)
Expand Down
2 changes: 1 addition & 1 deletion tsl/test/expected/compression_insert.out
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- This file and its contents are licensed under the Timescale License.
-- Please see the included NOTICE for copyright information and
-- LICENSE-TIMESCALE for a copy of the license.
SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';
\set PREFIX 'EXPLAIN (costs off, summary off, timing off) '
\set ANALYZE 'EXPLAIN (analyze, costs off, summary off, timing off) '
CREATE TABLE test1 (timec timestamptz , i integer ,
Expand Down
1 change: 0 additions & 1 deletion tsl/test/expected/continuous_aggs-14.out
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,6 @@ INNER JOIN _timescaledb_catalog.hypertable h ON(h.id = ca.mat_hypertable_id)
WHERE user_view_name = 'mat_drop_test'
\gset
SET client_min_messages TO NOTICE;
SET timezone TO PST8PDT;
CALL refresh_continuous_aggregate('mat_drop_test', NULL, NULL);
--force invalidation
insert into conditions
Expand Down
1 change: 0 additions & 1 deletion tsl/test/expected/continuous_aggs-15.out
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,6 @@ INNER JOIN _timescaledb_catalog.hypertable h ON(h.id = ca.mat_hypertable_id)
WHERE user_view_name = 'mat_drop_test'
\gset
SET client_min_messages TO NOTICE;
SET timezone TO PST8PDT;
CALL refresh_continuous_aggregate('mat_drop_test', NULL, NULL);
--force invalidation
insert into conditions
Expand Down
1 change: 0 additions & 1 deletion tsl/test/expected/continuous_aggs-16.out
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,6 @@ INNER JOIN _timescaledb_catalog.hypertable h ON(h.id = ca.mat_hypertable_id)
WHERE user_view_name = 'mat_drop_test'
\gset
SET client_min_messages TO NOTICE;
SET timezone TO PST8PDT;
CALL refresh_continuous_aggregate('mat_drop_test', NULL, NULL);
--force invalidation
insert into conditions
Expand Down
1 change: 0 additions & 1 deletion tsl/test/expected/continuous_aggs-17.out
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,6 @@ INNER JOIN _timescaledb_catalog.hypertable h ON(h.id = ca.mat_hypertable_id)
WHERE user_view_name = 'mat_drop_test'
\gset
SET client_min_messages TO NOTICE;
SET timezone TO PST8PDT;
CALL refresh_continuous_aggregate('mat_drop_test', NULL, NULL);
--force invalidation
insert into conditions
Expand Down
2 changes: 1 addition & 1 deletion tsl/test/expected/feature_flags.out
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-- Please see the included NOTICE for copyright information and
-- LICENSE-TIMESCALE for a copy of the license.
\c :TEST_DBNAME :ROLE_SUPERUSER
SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';
-- hypertable creation
SHOW timescaledb.enable_hypertable_create;
timescaledb.enable_hypertable_create
Expand Down
2 changes: 1 addition & 1 deletion tsl/test/expected/information_view_chunk_count.out
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- This file and its contents are licensed under the Timescale License.
-- Please see the included NOTICE for copyright information and
-- LICENSE-TIMESCALE for a copy of the license.
SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';
CREATE TABLE sensor_data(
time timestamptz not null,
sensor_id integer not null,
Expand Down
2 changes: 1 addition & 1 deletion tsl/test/expected/jit.out
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- This file and its contents are licensed under the Timescale License.
-- Please see the included NOTICE for copyright information and
-- LICENSE-TIMESCALE for a copy of the license.
SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';
\set TEST_BASE_NAME jit
SELECT format('include/%s_load.sql', :'TEST_BASE_NAME') as "TEST_LOAD_NAME",
format('include/%s_query.sql', :'TEST_BASE_NAME') as "TEST_QUERY_NAME",
Expand Down
2 changes: 1 addition & 1 deletion tsl/test/expected/size_utils_tsl.out
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- This file and its contents are licensed under the Timescale License.
-- Please see the included NOTICE for copyright information and
-- LICENSE-TIMESCALE for a copy of the license.
SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';
-- Prepare test data for continuous aggregate size function tests
CREATE TABLE hypersize(time timestamptz, device int);
SELECT * FROM create_hypertable('hypersize', 'time');
Expand Down
2 changes: 1 addition & 1 deletion tsl/test/expected/telemetry_stats.out
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
-- LICENSE-TIMESCALE for a copy of the license.
--telemetry tests that require a community license
\c :TEST_DBNAME :ROLE_CLUSTER_SUPERUSER;
SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';
-- function call info size is too variable for this test, so disable it
SET timescaledb.telemetry_level='no_functions';
SELECT setseed(1);
Expand Down
4 changes: 2 additions & 2 deletions tsl/test/expected/transparent_decompression-14.out
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SELECT format('include/%s_load.sql', :'TEST_BASE_NAME') AS "TEST_LOAD_NAME",
SELECT format('\! diff %s %s', :'TEST_RESULTS_UNCOMPRESSED', :'TEST_RESULTS_COMPRESSED') AS "DIFF_CMD" \gset
SET work_mem TO '50MB';
SET enable_incremental_sort TO off;
SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';
-- disable memoize node to avoid flaky results
SET enable_memoize TO 'off';
CREATE TABLE metrics (
Expand Down Expand Up @@ -171,7 +171,7 @@ FROM _timescaledb_catalog.hypertable ht
-- no standard way to create an index on a compressed table.
-- Once a standard way exists, modify this test to use that method.
\c :TEST_DBNAME :ROLE_DEFAULT_PERM_USER
SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';
CREATE INDEX ON metrics_space (device_id, device_id_peer, v0, v1 DESC, time);
CREATE INDEX ON metrics_space (device_id, device_id_peer DESC, v0, v1 DESC, time);
CREATE INDEX ON metrics_space (device_id DESC, device_id_peer DESC, v0, v1 DESC, time);
Expand Down
4 changes: 2 additions & 2 deletions tsl/test/expected/transparent_decompression-15.out
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SELECT format('include/%s_load.sql', :'TEST_BASE_NAME') AS "TEST_LOAD_NAME",
SELECT format('\! diff %s %s', :'TEST_RESULTS_UNCOMPRESSED', :'TEST_RESULTS_COMPRESSED') AS "DIFF_CMD" \gset
SET work_mem TO '50MB';
SET enable_incremental_sort TO off;
SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';
-- disable memoize node to avoid flaky results
SET enable_memoize TO 'off';
CREATE TABLE metrics (
Expand Down Expand Up @@ -171,7 +171,7 @@ FROM _timescaledb_catalog.hypertable ht
-- no standard way to create an index on a compressed table.
-- Once a standard way exists, modify this test to use that method.
\c :TEST_DBNAME :ROLE_DEFAULT_PERM_USER
SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';
CREATE INDEX ON metrics_space (device_id, device_id_peer, v0, v1 DESC, time);
CREATE INDEX ON metrics_space (device_id, device_id_peer DESC, v0, v1 DESC, time);
CREATE INDEX ON metrics_space (device_id DESC, device_id_peer DESC, v0, v1 DESC, time);
Expand Down
4 changes: 2 additions & 2 deletions tsl/test/expected/transparent_decompression-16.out
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SELECT format('include/%s_load.sql', :'TEST_BASE_NAME') AS "TEST_LOAD_NAME",
SELECT format('\! diff %s %s', :'TEST_RESULTS_UNCOMPRESSED', :'TEST_RESULTS_COMPRESSED') AS "DIFF_CMD" \gset
SET work_mem TO '50MB';
SET enable_incremental_sort TO off;
SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';
-- disable memoize node to avoid flaky results
SET enable_memoize TO 'off';
CREATE TABLE metrics (
Expand Down Expand Up @@ -171,7 +171,7 @@ FROM _timescaledb_catalog.hypertable ht
-- no standard way to create an index on a compressed table.
-- Once a standard way exists, modify this test to use that method.
\c :TEST_DBNAME :ROLE_DEFAULT_PERM_USER
SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';
CREATE INDEX ON metrics_space (device_id, device_id_peer, v0, v1 DESC, time);
CREATE INDEX ON metrics_space (device_id, device_id_peer DESC, v0, v1 DESC, time);
CREATE INDEX ON metrics_space (device_id DESC, device_id_peer DESC, v0, v1 DESC, time);
Expand Down
4 changes: 2 additions & 2 deletions tsl/test/expected/transparent_decompression-17.out
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SELECT format('include/%s_load.sql', :'TEST_BASE_NAME') AS "TEST_LOAD_NAME",
SELECT format('\! diff %s %s', :'TEST_RESULTS_UNCOMPRESSED', :'TEST_RESULTS_COMPRESSED') AS "DIFF_CMD" \gset
SET work_mem TO '50MB';
SET enable_incremental_sort TO off;
SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';
-- disable memoize node to avoid flaky results
SET enable_memoize TO 'off';
CREATE TABLE metrics (
Expand Down Expand Up @@ -171,7 +171,7 @@ FROM _timescaledb_catalog.hypertable ht
-- no standard way to create an index on a compressed table.
-- Once a standard way exists, modify this test to use that method.
\c :TEST_DBNAME :ROLE_DEFAULT_PERM_USER
SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';
CREATE INDEX ON metrics_space (device_id, device_id_peer, v0, v1 DESC, time);
CREATE INDEX ON metrics_space (device_id, device_id_peer DESC, v0, v1 DESC, time);
CREATE INDEX ON metrics_space (device_id DESC, device_id_peer DESC, v0, v1 DESC, time);
Expand Down
6 changes: 0 additions & 6 deletions tsl/test/sql/cagg_watermark.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
-- Please see the included NOTICE for copyright information and
-- LICENSE-TIMESCALE for a copy of the license.

SET timezone TO PST8PDT;

\set EXPLAIN_ANALYZE 'EXPLAIN (analyze,costs off,timing off,summary off)'

CREATE TABLE continuous_agg_test(time int, data int);
Expand Down Expand Up @@ -46,8 +44,6 @@ SELECT * from _timescaledb_catalog.continuous_aggs_hypertable_invalidation_log;
INSERT INTO _timescaledb_catalog.continuous_aggs_invalidation_threshold VALUES (1, 15);
\c :TEST_DBNAME :ROLE_DEFAULT_PERM_USER

SET timezone TO PST8PDT;

INSERT INTO continuous_agg_test VALUES (10, 1), (11, 2), (21, 3), (22, 4);

SELECT * FROM _timescaledb_catalog.continuous_aggs_invalidation_threshold;
Expand Down Expand Up @@ -187,8 +183,6 @@ SET watermark = 2
WHERE hypertable_id = 5;
\c :TEST_DBNAME :ROLE_DEFAULT_PERM_USER

SET timezone TO PST8PDT;

INSERT INTO ts_continuous_test VALUES (1, 1);

SELECT * FROM _timescaledb_catalog.continuous_aggs_invalidation_threshold;
Expand Down
2 changes: 1 addition & 1 deletion tsl/test/sql/chunk_merge.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ CREATE OR REPLACE FUNCTION _timescaledb_internal.test_merge_chunks_on_dimension(
AS :TSL_MODULE_PATHNAME, 'ts_test_merge_chunks_on_dimension' LANGUAGE C VOLATILE;
\c :TEST_DBNAME :ROLE_DEFAULT_PERM_USER

SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';

CREATE TABLE test1 ("Time" timestamptz, i integer, value integer);
SELECT table_name FROM Create_hypertable('test1', 'Time', chunk_time_interval=> INTERVAL '1 hour');
Expand Down
4 changes: 2 additions & 2 deletions tsl/test/sql/compression.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
-- LICENSE-TIMESCALE for a copy of the license.

SET timescaledb.enable_transparent_decompression to OFF;
SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';

\set PREFIX 'EXPLAIN (analyze, verbose, costs off, timing off, summary off)'

Expand Down Expand Up @@ -631,7 +631,7 @@ SET reltuples = 0, relpages = 0
AND ch.compressed_chunk_id > 0 );
\c :TEST_DBNAME :ROLE_DEFAULT_PERM_USER

SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';

-- reltuples is initially -1 on PG14 before VACUUM/ANALYZE has been run
SELECT relname, CASE WHEN reltuples > 0 THEN reltuples ELSE 0 END AS reltuples, relpages, relallvisible FROM pg_class
Expand Down
4 changes: 2 additions & 2 deletions tsl/test/sql/compression_bgw.sql
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GRANT NOLOGIN_ROLE TO :ROLE_DEFAULT_PERM_USER WITH ADMIN OPTION;

\c :TEST_DBNAME :ROLE_DEFAULT_PERM_USER

SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';

CREATE TABLE conditions (
time TIMESTAMPTZ NOT NULL,
Expand Down Expand Up @@ -166,7 +166,7 @@ RESET ROLE;

\c :TEST_DBNAME :ROLE_DEFAULT_PERM_USER

SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';

CREATE TABLE conditions(
time TIMESTAMPTZ NOT NULL,
Expand Down
4 changes: 2 additions & 2 deletions tsl/test/sql/compression_ddl.sql
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ CREATE TABLESPACE tablespace2 OWNER :ROLE_DEFAULT_PERM_USER LOCATION :TEST_TABLE

\c :TEST_DBNAME :ROLE_DEFAULT_PERM_USER

SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';

CREATE TABLE test1 ("Time" timestamptz, i integer, b bigint, t text);
SELECT table_name from create_hypertable('test1', 'Time', chunk_time_interval=> INTERVAL '1 day');
Expand Down Expand Up @@ -358,7 +358,7 @@ SELECT count(*) FROM test1_cont_view;

\c :TEST_DBNAME :ROLE_SUPERUSER

SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';

SELECT chunk.schema_name|| '.' || chunk.table_name as "COMPRESSED_CHUNK_NAME"
FROM _timescaledb_catalog.chunk chunk
Expand Down
2 changes: 1 addition & 1 deletion tsl/test/sql/compression_insert.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-- Please see the included NOTICE for copyright information and
-- LICENSE-TIMESCALE for a copy of the license.

SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';

\set PREFIX 'EXPLAIN (costs off, summary off, timing off) '
\set ANALYZE 'EXPLAIN (analyze, costs off, summary off, timing off) '
Expand Down
1 change: 0 additions & 1 deletion tsl/test/sql/continuous_aggs.sql.in
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,6 @@ WHERE user_view_name = 'mat_drop_test'
\gset

SET client_min_messages TO NOTICE;
SET timezone TO PST8PDT;

CALL refresh_continuous_aggregate('mat_drop_test', NULL, NULL);

Expand Down
2 changes: 1 addition & 1 deletion tsl/test/sql/feature_flags.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

\c :TEST_DBNAME :ROLE_SUPERUSER

SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';

-- hypertable creation
SHOW timescaledb.enable_hypertable_create;
Expand Down
2 changes: 1 addition & 1 deletion tsl/test/sql/information_view_chunk_count.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-- Please see the included NOTICE for copyright information and
-- LICENSE-TIMESCALE for a copy of the license.

SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';

CREATE TABLE sensor_data(
time timestamptz not null,
Expand Down
2 changes: 1 addition & 1 deletion tsl/test/sql/jit.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-- Please see the included NOTICE for copyright information and
-- LICENSE-TIMESCALE for a copy of the license.

SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';

\set TEST_BASE_NAME jit
SELECT format('include/%s_load.sql', :'TEST_BASE_NAME') as "TEST_LOAD_NAME",
Expand Down
2 changes: 1 addition & 1 deletion tsl/test/sql/size_utils_tsl.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-- Please see the included NOTICE for copyright information and
-- LICENSE-TIMESCALE for a copy of the license.

SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';

-- Prepare test data for continuous aggregate size function tests
CREATE TABLE hypersize(time timestamptz, device int);
Expand Down
2 changes: 1 addition & 1 deletion tsl/test/sql/telemetry_stats.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
--telemetry tests that require a community license
\c :TEST_DBNAME :ROLE_CLUSTER_SUPERUSER;

SET timezone TO PST8PDT;
SET timezone TO 'America/Los_Angeles';

-- function call info size is too variable for this test, so disable it
SET timescaledb.telemetry_level='no_functions';
Expand Down
Loading

0 comments on commit ac36797

Please sign in to comment.