Skip to content

Commit c775374

Browse files
authored
Disable nio test transport (#28028)
This commit disables the nio transport as an option for the test transport in integration tests. This is because it does not currently run properly in intellij due to socket permissions. It should be reenabled once #27881 is merged (and the proper permissions are added).
1 parent 2603391 commit c775374

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/framework/src/main/java/org/elasticsearch/test/ESTestCase.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,9 @@ public static String randomGeohash(int minPrecision, int maxPrecision) {
896896

897897
@BeforeClass
898898
public static void setUseNio() throws Exception {
899-
useNio = randomBoolean();
899+
// useNio = randomBoolean();
900+
// TODO: Temporarily disable nio as it does not work with intellij testrunner
901+
useNio = false;
900902
}
901903

902904
public static String getTestTransportType() {

0 commit comments

Comments
 (0)