Hi Steve,
Thanks
I tried to print the checksum values current Changeset and old Changeset ( RanChangeset) for the changeset which are failed during the validation.
The RanChangeSet checksum value is different than what is existing in the detabasechangelog table md5sum value.
What could be the reason for printing the different value from what exists in database.
validationFailedException.getInvalidMD5Sums().forEach(changeSet -> {
try {
finalDatabase.getRanChangeSetList().forEach((ranChangeSet -> {
if(ranChangeSet.getId().equals(changeSet.getId())){
logger.error("db changeset id:: " +ranChangeSet.getId()
+ " checksum:: "+ranChangeSet.getLastCheckSum() + "\n current changeset id:: " + changeSet.getId() +" current checksum:: "+ changeSet.generateCheckSum());
}
})
);
} catch (DatabaseException e1) {
e1.printStackTrace();
}
});
Thanks
Sravan A