mirror of https://github.com/apache/druid.git
fix broken UT
This commit is contained in:
parent
e1527a44d4
commit
91cd9e9536
|
@ -296,9 +296,10 @@ public class InfoResource
|
||||||
final List<Rule> rules
|
final List<Rule> rules
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return Response.status(Response.Status.OK)
|
if (databaseRuleCoordinator.overrideRule(dataSourceName, rules)) {
|
||||||
.entity(databaseRuleCoordinator.overrideRule(dataSourceName, rules))
|
return Response.status(Response.Status.OK).build();
|
||||||
.build();
|
}
|
||||||
|
return Response.status(Response.Status.INTERNAL_SERVER_ERROR).build();
|
||||||
}
|
}
|
||||||
|
|
||||||
@GET
|
@GET
|
||||||
|
|
|
@ -133,7 +133,7 @@ public class ZkCoordinatorTest
|
||||||
@Override
|
@Override
|
||||||
public String getSubType()
|
public String getSubType()
|
||||||
{
|
{
|
||||||
return null;
|
return "normal";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dummyType"
|
"dummyType"
|
||||||
|
|
Loading…
Reference in New Issue