Skip to content

Commit

Permalink
[test] ElasticsearchIntegrationTest#getContext() shortcut has been re…
Browse files Browse the repository at this point in the history
…moved

Due to #10656

Closes #84.
  • Loading branch information
dadoonet committed Apr 29, 2015
1 parent 6752e87 commit ff9394c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
package org.elasticsearch.repositories.azure;


import com.carrotsearch.randomizedtesting.RandomizedTest;
import com.microsoft.azure.storage.StorageException;
import org.elasticsearch.action.admin.cluster.repositories.put.PutRepositoryResponse;
import org.elasticsearch.action.admin.cluster.snapshots.create.CreateSnapshotResponse;
Expand Down Expand Up @@ -68,7 +69,7 @@ private String getRepositoryPath() {
}

private static String getContainerName() {
String testName = "snapshot-itest-".concat(getContext().getRunnerSeedAsString().toLowerCase());
String testName = "snapshot-itest-".concat(RandomizedTest.getContext().getRunnerSeedAsString().toLowerCase());
return testName.contains(" ") ? Strings.split(testName, " ")[0] : testName;
}

Expand Down

0 comments on commit ff9394c

Please sign in to comment.