From 4ae9e7fcebde27b30757ee03b9009b8465696f86 Mon Sep 17 00:00:00 2001 From: felmer <felmer> Date: Thu, 25 Oct 2012 09:20:28 +0000 Subject: [PATCH] fixing test by looking for another log message to indicating finishing data set registration. CHeck was to restrictive. SVN: 27369 --- .../screening/systemtests/ImageBase64EncodingTest.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/screening/sourceTest/java/ch/systemsx/cisd/openbis/screening/systemtests/ImageBase64EncodingTest.java b/screening/sourceTest/java/ch/systemsx/cisd/openbis/screening/systemtests/ImageBase64EncodingTest.java index 53321c1b613..76b78e99c9e 100644 --- a/screening/sourceTest/java/ch/systemsx/cisd/openbis/screening/systemtests/ImageBase64EncodingTest.java +++ b/screening/sourceTest/java/ch/systemsx/cisd/openbis/screening/systemtests/ImageBase64EncodingTest.java @@ -181,7 +181,13 @@ public class ImageBase64EncodingTest extends AbstractScreeningSystemTestCase @Override protected boolean checkLogContentForFinishedDataSetRegistration(String logContent) { - return super.checkLogContentForFinishedDataSetRegistration(logContent) && logContent.contains("Post registration of 4. of 4 data sets"); + return super.checkLogContentForFinishedDataSetRegistration(logContent) + && checkForFinalPostRegistrationLogEntry(logContent); + } + + private boolean checkForFinalPostRegistrationLogEntry(String logContent) + { + return logContent.contains("Post registration of"); } private static class PlateImageReferenceList extends ArrayList<PlateImageReference> implements IModifiable -- GitLab