use of edu.iu.dsc.tws.examples.verification.ExperimentVerification in project twister2 by DSC-SPIDAL.
the class SKeyedReduceExample method verify.
public void verify() throws VerificationException {
boolean doVerify = jobParameters.isDoVerify();
boolean isVerified = false;
if (doVerify) {
LOG.info("Verifying results ...");
ExperimentVerification experimentVerification = new ExperimentVerification(experimentData, OperationNames.KEYED_REDUCE);
isVerified = experimentVerification.isVerified();
if (isVerified) {
LOG.info("Results generated from the experiment are verified.");
} else {
throw new VerificationException("Results do not match");
}
}
}
use of edu.iu.dsc.tws.examples.verification.ExperimentVerification in project twister2 by DSC-SPIDAL.
the class BaseTSetBatchWorker method verify.
public static void verify(String operationNames) throws VerificationException {
boolean doVerify = jobParameters.isDoVerify();
boolean isVerified = false;
if (doVerify) {
LOG.info("Verifying results ...");
ExperimentVerification experimentVerification = new ExperimentVerification(experimentData, operationNames);
isVerified = experimentVerification.isVerified();
if (isVerified) {
LOG.info("Results generated from the experiment are verified.");
} else {
throw new VerificationException("Results do not match");
}
}
}
Aggregations