Remove unreferenced steps from remote_create_chunk test

This patch removes unreferenced steps from the remote_create_chunk
isolation test because PG13 will print warnings about unreferenced
steps leading to test failures.
This commit is contained in:
Sven Klemm 2021-01-15 14:13:08 +01:00 committed by Sven Klemm
parent 3afdf7cc72
commit 23cd4098ef

View File

@ -57,10 +57,6 @@ step "s1_create_chunk_1" {
SELECT slices, created FROM _timescaledb_internal.create_chunk('conditions', jsonb_build_object('time', ARRAY[1514764800000000, 1514851200000000], 'device', ARRAY[-9223372036854775808, 1073741823]));
}
step "s1_create_chunk_2" {
SELECT slices, created FROM _timescaledb_internal.create_chunk('conditions', jsonb_build_object('time', ARRAY[1514764800000000, 1514851200000000], 'device', ARRAY[1073741823, 9223372036854775807]));
}
# Create a chunk that does not exist
session "s2"
setup {
@ -91,15 +87,6 @@ step "s3_conditions_locks" {
}
session "s4"
step "s4_wait_all" {
SELECT * FROM debug_waitpoint_id('find_or_create_chunk_start');
SELECT * FROM debug_waitpoint_id('find_or_create_chunk_created');
SELECT * FROM debug_waitpoint_id('find_or_create_chunk_found');
SELECT debug_waitpoint_enable('find_or_create_chunk_start');
SELECT debug_waitpoint_enable('find_or_create_chunk_created');
SELECT debug_waitpoint_enable('find_or_create_chunk_found');
}
step "s4_wait_start" { SELECT debug_waitpoint_enable('find_or_create_chunk_start'); }
step "s4_wait_created" { SELECT debug_waitpoint_enable('find_or_create_chunk_created'); }
step "s4_wait_found" { SELECT debug_waitpoint_enable('find_or_create_chunk_found'); }