@Test
public void testObserveOnly() {

  int[][] qData = new int[][]{
    //  /   A   B   C
    { 100, 40, 40, 20 },  // abs
    { 100, 100, 100, 100 },  // maxCap
    { 100, 90, 10,  0 },  // used
    {  80, 10, 20, 50 },  // pending
    {   0,  0,  0,  0 },  // reserved
    {   2,  1,  1,  0 },  // apps
    {  -1,  1,  1,  0 },  // req granularity
    {   3,  0,  0,  0 },  // subqueues
  };
  conf.setBoolean(CapacitySchedulerConfiguration.PREEMPTION_OBSERVE_ONLY,
      true);
  when(mCS.getConfiguration()).thenReturn(
      new CapacitySchedulerConfiguration(conf));
  ProportionalCapacityPreemptionPolicy policy = buildPolicy(qData);
  policy.editSchedule();
  // verify even severe imbalance not affected
  verify(mDisp, never()).handle(isA(ContainerPreemptEvent.class));
}