Clean up update tests

Refactor update test files and remove obsolete test files.
This commit is contained in:
Sven Klemm 2020-10-13 15:37:09 +02:00 committed by Sven Klemm
parent 336d8f9c47
commit 4b4db04c1e
8 changed files with 23 additions and 26 deletions

View File

@ -2,10 +2,9 @@
-- Please see the included NOTICE for copyright information and
-- LICENSE-APACHE for a copy of the license.
\ir post.pre_insert.sql
-- INSERT data to create a new chunk after update or restore.
INSERT INTO "two_Partitions"("timeCustom", device_id, series_0, series_1, series_2) VALUES
(1258894000000000000, 'dev5', 2.2, 1, 2);
INSERT INTO devices(id,floor) VALUES
('dev5', 5);
INSERT INTO "two_Partitions"("timeCustom", device_id, device_id_2, series_0, series_1, series_2) VALUES
(1258894000000000000, 'dev5', 'dev1', 2.2, 1, 2);
\ir post.post_insert.sql

View File

@ -2,12 +2,7 @@
-- Please see the included NOTICE for copyright information and
-- LICENSE-APACHE for a copy of the license.
\ir post.pre_insert.sql
-- INSERT data to create a new chunk after update or restore.
INSERT INTO devices(id,floor) VALUES
('dev5', 5);
INSERT INTO "two_Partitions"("timeCustom", device_id, device_id_2, series_0, series_1, series_2) VALUES
(1258894000000000000, 'dev5', 'dev1', 2.2, 1, 2);
\ir post.post_insert.sql
\ir post.catalog.sql
\ir post.insert.sql
\ir post.integrity_test.sql
\ir post.functions.sql

View File

@ -1,7 +0,0 @@
-- This file and its contents are licensed under the Apache License 2.0.
-- Please see the included NOTICE for copyright information and
-- LICENSE-APACHE for a copy of the license.
\ir post.v2.sql
\ir post.continuous_aggs.sql

View File

@ -2,6 +2,10 @@
-- Please see the included NOTICE for copyright information and
-- LICENSE-APACHE for a copy of the license.
\ir post.v3.sql
\ir post.catalog.sql
\ir post.insert.sql
\ir post.integrity_test.sql
\ir post.continuous_aggs.sql
\ir catalog_missing_columns.sql
\ir post.functions.sql

View File

@ -2,6 +2,10 @@
-- Please see the included NOTICE for copyright information and
-- LICENSE-APACHE for a copy of the license.
\ir post.v4.sql
\ir post.compression.sql
\ir post.catalog.sql
\ir post.insert.sql
\ir post.integrity_test.sql
\ir post.continuous_aggs.sql
\ir post.compression.sql
\ir catalog_missing_columns.sql
\ir post.functions.sql

View File

@ -2,7 +2,9 @@
-- Please see the included NOTICE for copyright information and
-- LICENSE-APACHE for a copy of the license.
\ir post.v2.sql
\ir post.catalog.sql
\ir post.insert.sql
\ir post.integrity_test.sql
\ir catalog_missing_columns.sql
\ir post.compression.sql
\ir post.continuous_aggs.v2.sql