while (tupleEntryIterator.hasNext()) {
TupleEntry entry = tupleEntryIterator.next();
StatusDatum sd = new StatusDatum(entry);
if (sd.getStatus() != UrlStatus.FETCHED) {
LOGGER.error(String.format("Fetched failed! Status is %s for %s", sd.getStatus(), sd.getUrl()));
BaseFetchException e = sd.getException();
if (e != null) {
LOGGER.error("Fetched failed due to exception", e);
}
Assert.fail("Status not equal to FETCHED");