From 567ef7e991e8ae4e1825876bf12590bb504bd74e Mon Sep 17 00:00:00 2001 From: Marco Neumann Date: Tue, 3 Aug 2021 12:56:09 +0200 Subject: [PATCH] test: expland replay tests a bit --- server/src/db/replay.rs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/server/src/db/replay.rs b/server/src/db/replay.rs index 697f3aad1e..e145d60cc9 100644 --- a/server/src/db/replay.rs +++ b/server/src/db/replay.rs @@ -1435,7 +1435,7 @@ mod tests { TestSequencedEntry { sequencer_id: 0, sequence_number: 0, - lp: "table_2,tag_partition_by=a bar=10 0", + lp: "table_2,tag_partition_by=a bar=20 0", }, TestSequencedEntry { sequencer_id: 0, @@ -1461,6 +1461,16 @@ mod tests { "+-----+------------------+----------------------+", ], ), + Check::Query( + "select * from table_2 order by bar", + vec![ + "+-----+------------------+----------------------+", + "| bar | tag_partition_by | time |", + "+-----+------------------+----------------------+", + "| 20 | a | 1970-01-01T00:00:00Z |", + "+-----+------------------+----------------------+", + ], + ), Check::Query( "explain select * from table_1 order by bar", vec![