GiraphJob job = prepareJob(getCallingMethodName(), conf,
getTempPath(getCallingMethodName()));
job.getConfiguration().setMaxNumberOfSupersteps(3);
assertTrue(job.run(true));
if (!runningInDistributedMode()) {
GiraphHadoopCounter superstepCounter =
GiraphStats.getInstance().getSuperstepCounter();
assertEquals(superstepCounter.getValue(), 3L);
}
}