diff --git a/dhis-2/dhis-test-integration/src/test/java/org/hisp/dhis/analytics/data/AnalyticsServiceTest.java b/dhis-2/dhis-test-integration/src/test/java/org/hisp/dhis/analytics/data/AnalyticsServiceTest.java index 1990ed0c7234..ca10b84684ce 100644 --- a/dhis-2/dhis-test-integration/src/test/java/org/hisp/dhis/analytics/data/AnalyticsServiceTest.java +++ b/dhis-2/dhis-test-integration/src/test/java/org/hisp/dhis/analytics/data/AnalyticsServiceTest.java @@ -1539,7 +1539,11 @@ void resourceTablesTimestampUpdated() { systemSettingManager.getSystemSetting( SettingKey.LAST_SUCCESSFUL_RESOURCE_TABLES_UPDATE, Date.class); assertNotEquals(null, resourceTablesUpdated); - assertTrue(tableLastUpdated.compareTo(processStartTime) > 0); - assertTrue(resourceTablesUpdated.compareTo(processStartTime) > 0); + assertTrue( + tableLastUpdated.compareTo(processStartTime) > 0, + String.format("%s > %s", tableLastUpdated, processStartTime)); + assertTrue( + resourceTablesUpdated.compareTo(processStartTime) > 0, + String.format("%s > %s", resourceTablesUpdated, processStartTime)); } }