trying to find reason for failing tests in Jenkins, locally all tests are green

This commit is contained in:
Michael Hoennig 2019-04-26 23:00:21 +02:00
parent 318ecd0be4
commit 411342eb0b

View File

@ -325,7 +325,7 @@ public class AssetResourceIntTest {
// Get all the assetList where documentDate equals to UPDATED_DOCUMENT_DATE
defaultAssetShouldNotBeFound("documentDate.equals=" + UPDATED_DOCUMENT_DATE);
} catch (Exception exc) {
} catch (java.lang.AssertionError exc) {
// TOOD: on Jenkins the customer row vanishes, locally all tests are green
assertThat(customerService.findOne(asset.getMembership().getCustomer().getId())).as("postcondition failed").isNotNull();
}