Skip to content

Commit

Permalink
Update test names
Browse files Browse the repository at this point in the history
Signed-off-by: AnnTian Shao <[email protected]>
  • Loading branch information
AnnTian Shao committed Jan 27, 2025
1 parent f05d0f1 commit 7e5f720
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/org/opensearch/knn/index/RestoreSnapshotIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ private void setupSnapshotRestore() throws Exception {
createSnapshot(repository, snapshot, true);
}

public void testUnmodifiableOnRestoreSettingModifiedOnRestore() throws Exception {
public void testKnnSettingIsUnmodifiableOnRestore() throws Exception {
setupSnapshotRestore();

// invalid restore
Expand All @@ -77,7 +77,7 @@ public void testUnmodifiableOnRestoreSettingModifiedOnRestore() throws Exception
assertThat(error.getMessage(), containsString("cannot modify UnmodifiableOnRestore setting [index.knn]" + " on restore"));
}

public void testUnmodifiableOnRestoreSettingIgnoredOnRestore() throws Exception {
public void testKnnSettingCannotBeIgnoredDuringRestore() throws Exception {
setupSnapshotRestore();

// invalid restore
Expand Down

0 comments on commit 7e5f720

Please sign in to comment.