Skip to content

Commit

Permalink
[test] Fix unstable test case CatalogITCaseBase#testTagsTable (apache…
Browse files Browse the repository at this point in the history
…#3238)

This fixes apache#3238.
  • Loading branch information
tsreaper authored Apr 19, 2024
1 parent 85bd8a3 commit 3686cce
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,9 @@ public void testTagsTable() throws Exception {
paimonTable("T").createTag("tag1", 1);
paimonTable("T").createTag("tag2", 2);

List<Row> result = sql("SELECT tag_name, snapshot_id, schema_id, record_count FROM T$tags");
List<Row> result =
sql(
"SELECT tag_name, snapshot_id, schema_id, record_count FROM T$tags ORDER BY tag_name");

assertThat(result).containsExactly(Row.of("tag1", 1L, 0L, 1L), Row.of("tag2", 2L, 0L, 2L));
}
Expand Down

0 comments on commit 3686cce

Please sign in to comment.