You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2024/03/14 13:49:49 UTC
(jena) 03/03: GH-2313: Skip unstable test
This is an automated email from the ASF dual-hosted git repository.
andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git
commit a19b2b20885969c8d9242b876d73768f7309f22f
Author: Andy Seaborne <an...@apache.org>
AuthorDate: Tue Mar 12 17:19:30 2024 +0000
GH-2313: Skip unstable test
---
.github/workflows/maven_windows.yml | 1 -
.../ext/io/github/galbiston/expiring_map/ExpiringMapTest.java | 9 +++------
2 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/maven_windows.yml b/.github/workflows/maven_windows.yml
index 04b17d4a01..1fc57394d1 100644
--- a/.github/workflows/maven_windows.yml
+++ b/.github/workflows/maven_windows.yml
@@ -31,6 +31,5 @@ jobs:
run: bash -c "cp -r /d/a/jena/jena /c/jena"
- name: Build with Maven for windows-latest
- # If Windows and java 11, then MJAVADOC-586 / JDK issue.
run: bash -c "mvn -B --file pom.xml -Dmaven.javadoc.skip=true install"
working-directory: c:\jena
diff --git a/jena-geosparql/src/test/java/org/apache/jena/ext/io/github/galbiston/expiring_map/ExpiringMapTest.java b/jena-geosparql/src/test/java/org/apache/jena/ext/io/github/galbiston/expiring_map/ExpiringMapTest.java
index b7129a1938..ac22947475 100644
--- a/jena-geosparql/src/test/java/org/apache/jena/ext/io/github/galbiston/expiring_map/ExpiringMapTest.java
+++ b/jena-geosparql/src/test/java/org/apache/jena/ext/io/github/galbiston/expiring_map/ExpiringMapTest.java
@@ -17,16 +17,12 @@
*/
package org.apache.jena.ext.io.github.galbiston.expiring_map;
-import org.junit.After;
-import org.junit.AfterClass;
-
import static org.apache.jena.ext.io.github.galbiston.expiring_map.MapDefaultValues.MAP_CLEANER_INTERVAL;
import static org.apache.jena.ext.io.github.galbiston.expiring_map.MapDefaultValues.MINIMUM_MAP_CLEANER_INTERVAL;
import static org.apache.jena.ext.io.github.galbiston.expiring_map.MapDefaultValues.UNLIMITED_EXPIRY;
import static org.junit.Assert.assertEquals;
-import org.junit.Before;
-import org.junit.BeforeClass;
-import org.junit.Test;
+
+import org.junit.*;
/**
*
@@ -441,6 +437,7 @@ public class ExpiringMapTest {
*
* @throws java.lang.InterruptedException
*/
+ @Ignore // This test is not stable on loaded CI servers.
@Test
public void testExpiry_set_cleaner() throws InterruptedException {
//System.out.println("expiry_set_cleaner");