You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by ah...@apache.org on 2024/09/04 14:55:18 UTC

(causeway) branch v3 updated: CAUSEWAY-2445: disable unstable wicket viewer cookie test

This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch v3
in repository https://gitbox.apache.org/repos/asf/causeway.git


The following commit(s) were added to refs/heads/v3 by this push:
     new 1deb1bcb75 CAUSEWAY-2445: disable unstable wicket viewer cookie test
1deb1bcb75 is described below

commit 1deb1bcb759e7f7d7acaade43b3974d3441561ee
Author: Andi Huber <ah...@apache.org>
AuthorDate: Wed Sep 4 16:55:14 2024 +0200

    CAUSEWAY-2445: disable unstable wicket viewer cookie test
---
 .../wicket/ui/test/pages/accmngt/SuccessFeedbackCookieUtilTest.java   | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/viewers/wicket/ui-test/src/test/java/org/apache/causeway/viewer/wicket/ui/test/pages/accmngt/SuccessFeedbackCookieUtilTest.java b/viewers/wicket/ui-test/src/test/java/org/apache/causeway/viewer/wicket/ui/test/pages/accmngt/SuccessFeedbackCookieUtilTest.java
index 1327e5ee7a..8346f3b133 100644
--- a/viewers/wicket/ui-test/src/test/java/org/apache/causeway/viewer/wicket/ui/test/pages/accmngt/SuccessFeedbackCookieUtilTest.java
+++ b/viewers/wicket/ui-test/src/test/java/org/apache/causeway/viewer/wicket/ui/test/pages/accmngt/SuccessFeedbackCookieUtilTest.java
@@ -38,6 +38,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
+import org.apache.causeway.core.internaltestsupport.annotations.DisabledIfRunningWithSurefire;
 import org.apache.causeway.viewer.wicket.ui.pages.accmngt.SuccessFeedbackCookieManager;
 
 import lombok.val;
@@ -62,6 +63,9 @@ class SuccessFeedbackCookieUtilTest {
                 mock(IExceptionMapper.class))));
     }
 
+    // unstable test, may fail with SuccessFeedbackCookieUtilTest.roundtrip:71
+    // ยป WicketRuntime The application attached to the current thread is not a WebApplication
+    @DisabledIfRunningWithSurefire
     @Test
     void roundtrip() {