Skip to content

Commit

Permalink
Add more test cases on ShardingSphereDataNode (#32969)
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu authored Sep 24, 2024
1 parent fd810c0 commit 8365016
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,9 @@ void assertGetRowUniqueKeyHappyPath() {
void assertGetRowUniqueKeyUniqueKeyNotFoundScenario() {
assertThat(ShardingSphereDataNode.getRowUniqueKey("/statistics/databases/db_name/schemas/db_schema/tables/tbl_name"), is(Optional.empty()));
}

@Test
void assertGetJobPath() {
assertThat(ShardingSphereDataNode.getJobPath(), is("statistics/job"));
}
}

0 comments on commit 8365016

Please sign in to comment.