Skip to content

Commit

Permalink
Fix testCreateAndRestoreSnapshot unwanted space in snapshot name
Browse files Browse the repository at this point in the history
Signed-off-by: Lakshya Taragi <[email protected]>
  • Loading branch information
ltaragi committed Aug 30, 2024
1 parent 51f92d8 commit 9623803
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@
* <li>Run against the current version cluster from the second step: {@link TestStep#STEP4_NEW_CLUSTER}</li>
* </ul>
*/


public class MultiVersionRepositoryAccessIT extends OpenSearchRestTestCase {

private enum TestStep {
Expand Down Expand Up @@ -150,7 +152,7 @@ public void testCreateAndRestoreSnapshot() throws IOException {
break;
case STEP3_OLD_CLUSTER:
assertSnapshotStatusSuccessful(
client, repoName, new String[] {"snapshot-" + TEST_STEP, "snapshot -" + TestStep.STEP3_OLD_CLUSTER}, Strings.EMPTY_ARRAY);
client, repoName, new String[] {"snapshot-" + TEST_STEP, "snapshot-" + TestStep.STEP3_OLD_CLUSTER}, Strings.EMPTY_ARRAY);
break;
}
if (TEST_STEP == TestStep.STEP3_OLD_CLUSTER) {
Expand Down

0 comments on commit 9623803

Please sign in to comment.