32
32
import org .apache .drill .test .ClusterFixture ;
33
33
import org .apache .drill .test .ClusterFixtureBuilder ;
34
34
import org .apache .drill .test .DrillTest ;
35
- import org .junit .Ignore ;
36
35
import org .junit .Rule ;
37
36
import org .junit .Test ;
38
37
import org .junit .experimental .categories .Category ;
39
38
40
39
import static org .junit .Assert .assertEquals ;
41
40
import static org .junit .Assert .assertTrue ;
42
41
43
- @ Ignore ("These tests will be ignored until integration with new DistributedResourceManager is done" )
44
42
@ Category (ResourceManagerTest .class )
45
43
public final class TestRMConfigLoad extends DrillTest {
46
44
@@ -51,8 +49,8 @@ public final class TestRMConfigLoad extends DrillTest {
51
49
public void testDefaultRMConfig () throws Exception {
52
50
ClusterFixtureBuilder fixtureBuilder = ClusterFixture .builder (dirTestWatcher )
53
51
.configProperty (ExecConstants .RM_ENABLED , true )
54
- .configProperty (ExecConstants .DRILL_PORT_HUNT , true )
55
52
.setOptionDefault (ExecConstants .ENABLE_QUEUE .getOptionName (), false )
53
+ .configProperty (ExecConstants .ALLOW_LOOPBACK_ADDRESS_BINDING , true )
56
54
.withLocalZk ();
57
55
58
56
try (ClusterFixture cluster = fixtureBuilder .build ()) {
@@ -111,8 +109,8 @@ public void testDefaultRMWithLocalCoordinatorAndRMDisabled() throws Exception {
111
109
public void testDefaultRMOnlyRMDisabled () throws Exception {
112
110
ClusterFixtureBuilder fixtureBuilder = ClusterFixture .builder (dirTestWatcher )
113
111
.configProperty (ExecConstants .RM_ENABLED , false )
114
- .configProperty (ExecConstants .DRILL_PORT_HUNT , true )
115
112
.setOptionDefault (ExecConstants .ENABLE_QUEUE .getOptionName (), false )
113
+ .configProperty (ExecConstants .ALLOW_LOOPBACK_ADDRESS_BINDING , true )
116
114
.withLocalZk ();
117
115
118
116
try (ClusterFixture cluster = fixtureBuilder .build ()) {
@@ -126,8 +124,8 @@ public void testDefaultRMOnlyRMDisabled() throws Exception {
126
124
public void testThrottleRMOnlyRMDisabled () throws Exception {
127
125
ClusterFixtureBuilder fixtureBuilder = ClusterFixture .builder (dirTestWatcher )
128
126
.configProperty (ExecConstants .RM_ENABLED , false )
129
- .configProperty (ExecConstants .DRILL_PORT_HUNT , true )
130
127
.setOptionDefault (ExecConstants .ENABLE_QUEUE .getOptionName (), true )
128
+ .configProperty (ExecConstants .ALLOW_LOOPBACK_ADDRESS_BINDING , true )
131
129
.withLocalZk ();
132
130
133
131
try (ClusterFixture cluster = fixtureBuilder .build ()) {
0 commit comments