3232import org .apache .drill .test .ClusterFixture ;
3333import org .apache .drill .test .ClusterFixtureBuilder ;
3434import org .apache .drill .test .DrillTest ;
35- import org .junit .Ignore ;
3635import org .junit .Rule ;
3736import org .junit .Test ;
3837import org .junit .experimental .categories .Category ;
3938
4039import static org .junit .Assert .assertEquals ;
4140import static org .junit .Assert .assertTrue ;
4241
43- @ Ignore ("These tests will be ignored until integration with new DistributedResourceManager is done" )
4442@ Category (ResourceManagerTest .class )
4543public final class TestRMConfigLoad extends DrillTest {
4644
@@ -51,8 +49,8 @@ public final class TestRMConfigLoad extends DrillTest {
5149 public void testDefaultRMConfig () throws Exception {
5250 ClusterFixtureBuilder fixtureBuilder = ClusterFixture .builder (dirTestWatcher )
5351 .configProperty (ExecConstants .RM_ENABLED , true )
54- .configProperty (ExecConstants .DRILL_PORT_HUNT , true )
5552 .setOptionDefault (ExecConstants .ENABLE_QUEUE .getOptionName (), false )
53+ .configProperty (ExecConstants .ALLOW_LOOPBACK_ADDRESS_BINDING , true )
5654 .withLocalZk ();
5755
5856 try (ClusterFixture cluster = fixtureBuilder .build ()) {
@@ -111,8 +109,8 @@ public void testDefaultRMWithLocalCoordinatorAndRMDisabled() throws Exception {
111109 public void testDefaultRMOnlyRMDisabled () throws Exception {
112110 ClusterFixtureBuilder fixtureBuilder = ClusterFixture .builder (dirTestWatcher )
113111 .configProperty (ExecConstants .RM_ENABLED , false )
114- .configProperty (ExecConstants .DRILL_PORT_HUNT , true )
115112 .setOptionDefault (ExecConstants .ENABLE_QUEUE .getOptionName (), false )
113+ .configProperty (ExecConstants .ALLOW_LOOPBACK_ADDRESS_BINDING , true )
116114 .withLocalZk ();
117115
118116 try (ClusterFixture cluster = fixtureBuilder .build ()) {
@@ -126,8 +124,8 @@ public void testDefaultRMOnlyRMDisabled() throws Exception {
126124 public void testThrottleRMOnlyRMDisabled () throws Exception {
127125 ClusterFixtureBuilder fixtureBuilder = ClusterFixture .builder (dirTestWatcher )
128126 .configProperty (ExecConstants .RM_ENABLED , false )
129- .configProperty (ExecConstants .DRILL_PORT_HUNT , true )
130127 .setOptionDefault (ExecConstants .ENABLE_QUEUE .getOptionName (), true )
128+ .configProperty (ExecConstants .ALLOW_LOOPBACK_ADDRESS_BINDING , true )
131129 .withLocalZk ();
132130
133131 try (ClusterFixture cluster = fixtureBuilder .build ()) {
0 commit comments