Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzelin committed Dec 18, 2024
1 parent 1a84ac6 commit e1974b5
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,10 @@ public void testCreateTagFromTimestampAction() throws Exception {
"create_tag_from_timestamp",
"--warehouse",
warehouse,
"--database",
database,
"--table",
database + "." + tableName,
tableName,
"--tag",
tag,
"--timestamp",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ public void testCreateTagsFromSnapshotsWatermark() throws Exception {
"create_tag_from_watermark",
"--warehouse",
warehouse,
"--database",
database,
"--table",
database + ".T",
"T",
"--tag",
"tag2",
"--watermark",
Expand All @@ -86,8 +88,10 @@ public void testCreateTagsFromSnapshotsWatermark() throws Exception {
"create_tag_from_watermark",
"--warehouse",
warehouse,
"--database",
database,
"--table",
database + ".T",
"T",
"--tag",
"tag3",
"--watermark",
Expand Down Expand Up @@ -144,8 +148,10 @@ public void testCreateTagsFromTagsWatermark() throws Exception {
"create_tag_from_watermark",
"--warehouse",
warehouse,
"--database",
database,
"--table",
database + ".T",
"T",
"--tag",
"tag2",
"--watermark",
Expand All @@ -161,8 +167,10 @@ public void testCreateTagsFromTagsWatermark() throws Exception {
"create_tag_from_watermark",
"--warehouse",
warehouse,
"--database",
database,
"--table",
database + ".T",
"T",
"--tag",
"tag3",
"--watermark",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@ public void testExpireTags() throws Exception {
"expire_tags",
"--warehouse",
warehouse,
"--database",
database,
"--table",
database + ".T")
"T")
.run();
// no tags expired
assertThat(table.tagManager().tags().size()).isEqualTo(3);
Expand All @@ -79,8 +81,10 @@ public void testExpireTags() throws Exception {
"expire_tags",
"--warehouse",
warehouse,
"--database",
database,
"--table",
database + ".T")
"T")
.run();
// tag-4,tag-5 expires
assertThat(table.tagManager().tags().size()).isEqualTo(3);
Expand All @@ -96,8 +100,10 @@ public void testExpireTags() throws Exception {
"expire_tags",
"--warehouse",
warehouse,
"--database",
database,
"--table",
database + ".T",
"T",
"--older_than",
timestamp.toString())
.run();
Expand Down

0 comments on commit e1974b5

Please sign in to comment.