remove test code

This commit is contained in:
Fangjin Yang 2013-03-06 11:20:27 -08:00
parent 9d9efadf72
commit 1b9bbb2f2a
1 changed files with 1 additions and 5 deletions

View File

@ -231,10 +231,6 @@ public class IndexerCoordinatorResource
if (taskMasterLifecycle.getResourceManagementScheduler() == null) {
return Response.noContent().build();
}
ScalingStats foo = new ScalingStats(10);
foo.addProvisionEvent(new AutoScalingData<String>(Lists.newArrayList("boo", "doo"), Lists.newArrayList("a", "b")));
foo.addTerminateEvent(new AutoScalingData<String>(Lists.newArrayList("d", "e"), Lists.newArrayList("f", "g")));
return Response.ok(foo).build();
//return Response.ok(taskMasterLifecycle.getResourceManagementScheduler().getStats()).build();
return Response.ok(taskMasterLifecycle.getResourceManagementScheduler().getStats()).build();
}
}