From 411342eb0b829f864514f48b1f51af9f4471353d Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Fri, 26 Apr 2019 23:00:21 +0200 Subject: [PATCH] trying to find reason for failing tests in Jenkins, locally all tests are green --- .../hostsharing/hsadminng/web/rest/AssetResourceIntTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/hostsharing/hsadminng/web/rest/AssetResourceIntTest.java b/src/test/java/org/hostsharing/hsadminng/web/rest/AssetResourceIntTest.java index a3b082f4..393e0c09 100644 --- a/src/test/java/org/hostsharing/hsadminng/web/rest/AssetResourceIntTest.java +++ b/src/test/java/org/hostsharing/hsadminng/web/rest/AssetResourceIntTest.java @@ -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(); }