Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ public class BootstrapForTesting {
if (System.getProperty("tests.gradle") == null) {
// intellij and eclipse don't package our internal libs, so we need to set the codebases for them manually
addClassCodebase(codebases,"plugin-classloader", "org.elasticsearch.plugins.ExtendedPluginsClassLoader");
addClassCodebase(codebases,"elasticsearch-nio", "org.elasticsearch.nio.ChannelFactory");
}
final Policy testFramework = Security.readPolicy(Bootstrap.class.getResource("test-framework.policy"), codebases);
final Policy esPolicy = new ESPolicy(codebases, perms, getPluginPermissions(), true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -896,9 +896,7 @@ public static String randomGeohash(int minPrecision, int maxPrecision) {

@BeforeClass
public static void setUseNio() throws Exception {
// useNio = randomBoolean();
// TODO: Temporarily disable nio as it does not work with intellij testrunner
useNio = false;
useNio = randomBoolean();
}

public static String getTestTransportType() {
Expand Down