Skip to content

Commit

Permalink
Add more test cases on ShardingSphereDataNode
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu committed Sep 24, 2024
1 parent fd810c0 commit 6e35e80
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 6e35e80

Please sign in to comment.