You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2022/03/16 18:00:38 UTC

[isis] branch master updated: ISIS-2445: disable JodaTimeConvertersTest due to frequently changing time-zone data

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

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


The following commit(s) were added to refs/heads/master by this push:
     new c795324  ISIS-2445: disable JodaTimeConvertersTest due to frequently changing time-zone data
c795324 is described below

commit c795324b6f499c7a009e7898ca724d4f1d56ff4f
Author: Andi Huber <ah...@apache.org>
AuthorDate: Wed Mar 16 18:50:54 2022 +0100

    ISIS-2445: disable JodaTimeConvertersTest due to frequently changing
    time-zone data
---
 .../isis/valuetypes/jodatime/applib/value/JodaTimeConvertersTest.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/valuetypes/jodatime/applib/src/test/java/org/apache/isis/valuetypes/jodatime/applib/value/JodaTimeConvertersTest.java b/valuetypes/jodatime/applib/src/test/java/org/apache/isis/valuetypes/jodatime/applib/value/JodaTimeConvertersTest.java
index ce04076..02613f5 100644
--- a/valuetypes/jodatime/applib/src/test/java/org/apache/isis/valuetypes/jodatime/applib/value/JodaTimeConvertersTest.java
+++ b/valuetypes/jodatime/applib/src/test/java/org/apache/isis/valuetypes/jodatime/applib/value/JodaTimeConvertersTest.java
@@ -24,6 +24,7 @@ import java.time.format.DateTimeFormatter;
 import java.util.stream.Stream;
 
 import org.joda.time.DateTimeZone;
+import org.junit.jupiter.api.Disabled;
 import org.junit.jupiter.api.Test;
 import org.junit.jupiter.params.ParameterizedTest;
 import org.junit.jupiter.params.provider.Arguments;
@@ -34,6 +35,7 @@ import static org.junit.jupiter.api.Assertions.fail;
 
 class JodaTimeConvertersTest {
 
+    @Disabled("unstable due to JVM's frequently changing time-zone data")
     @ParameterizedTest(name = "{index} {0}")
     @MethodSource("provideAllZoneIds")
     void timeZone_Roundtrip(final String zoneIdName, final ZoneId zoneId) {
@@ -51,6 +53,7 @@ class JodaTimeConvertersTest {
         assertEquals(zoneId.getRules(), recoveredValue.getRules(), ()->String.format("rountrip failed for %s", zoneIdName));
     }
 
+    @Disabled("unstable due to JVM's frequently changing time-zone data")
     @ParameterizedTest(name = "{index} {0}")
     @MethodSource("provideAllZoneIds")
     void zonedDateFormat_roundtrip(final String zoneIdName, final ZoneId zoneId) {
@@ -64,6 +67,7 @@ class JodaTimeConvertersTest {
         assertEquals(zonedDateTime.format(formatter), recoveredValue.format(formatter));
     }
 
+    @Disabled("unstable due to JVM's frequently changing time-zone data")
     @Test
     void zonedDateFormat_zeroOffset() {