|
@@ -25,7 +25,6 @@ import org.elasticsearch.action.admin.cluster.settings.ClusterUpdateSettingsResp
|
|
|
import org.elasticsearch.cluster.metadata.MetaData;
|
|
|
import org.elasticsearch.cluster.routing.allocation.decider.EnableAllocationDecider;
|
|
|
import org.elasticsearch.common.logging.ESLoggerFactory;
|
|
|
-import org.elasticsearch.common.settings.Setting;
|
|
|
import org.elasticsearch.common.settings.Settings;
|
|
|
import org.elasticsearch.common.unit.ByteSizeUnit;
|
|
|
import org.elasticsearch.discovery.Discovery;
|
|
@@ -33,10 +32,8 @@ import org.elasticsearch.discovery.DiscoverySettings;
|
|
|
import org.elasticsearch.discovery.zen.ZenDiscovery;
|
|
|
import org.elasticsearch.indices.recovery.RecoverySettings;
|
|
|
import org.elasticsearch.test.ESIntegTestCase;
|
|
|
-import org.elasticsearch.test.ESIntegTestCase.ClusterScope;
|
|
|
import org.junit.After;
|
|
|
|
|
|
-import static org.elasticsearch.test.ESIntegTestCase.Scope.TEST;
|
|
|
import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertAcked;
|
|
|
import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertBlocked;
|
|
|
import static org.hamcrest.Matchers.containsString;
|
|
@@ -63,7 +60,7 @@ public class ClusterSettingsIT extends ESIntegTestCase {
|
|
|
.get();
|
|
|
fail("bogus value");
|
|
|
} catch (IllegalArgumentException ex) {
|
|
|
- assertEquals(ex.getMessage(), "transient setting [no_idea_what_you_are_talking_about], not dynamically updateable");
|
|
|
+ assertEquals("transient setting [no_idea_what_you_are_talking_about], not recognized", ex.getMessage());
|
|
|
}
|
|
|
}
|
|
|
|