Skip to content

Commit efa516f

Browse files
committed
Make compression_merge_race test output not depend on chunk name
1 parent 23a7490 commit efa516f

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

tsl/test/isolation/expected/compression_merge_race.out

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ count|expected
9898

9999
starting permutation: s1_compress_single_chunk s1_compress_all_chunks_single_transaction s3_select_on_compressed_chunk s3_wait_for_finish s1_compress_finish
100100
step s1_compress_single_chunk:
101-
select compress_chunk(c, true) from show_chunks('sensor_data') c limit 1;
101+
select compress_chunk(c, true) is not null as compress from show_chunks('sensor_data') c limit 1;
102102

103-
compress_chunk
104-
-------------------------------------------
105-
_timescaledb_internal._hyper_X_X_chunk
103+
compress
104+
--------
105+
t
106106

107107
step s1_compress_all_chunks_single_transaction:
108108
BEGIN;

tsl/test/isolation/specs/compression_merge_race.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ step "s1_compress_finish" {
7474
}
7575

7676
step "s1_compress_single_chunk" {
77-
select compress_chunk(c, true) from show_chunks('sensor_data') c limit 1;
77+
select compress_chunk(c, true) is not null as compress from show_chunks('sensor_data') c limit 1;
7878
}
7979

8080

0 commit comments

Comments
 (0)