[java-shib-shared] branch maint-9.1 updated: Supress GITWEB tests for now - Part2
Rod Widdowson
rdw at steadingsoftware.com
Sat Jul 5 14:21:58 UTC 2025
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch maint-9.1
in repository java-shib-shared.
View the commit online:
http://git.shibboleth.net/view/?p=java-shib-shared.git;a=commit;h=876abd4b6fee0c44eff5743c4c48d6b7feb4befe
The following commit(s) were added to refs/heads/maint-9.1 by this push:
new 876abd4b Supress GITWEB tests for now - Part2
876abd4b is described below
commit 876abd4b6fee0c44eff5743c4c48d6b7feb4befe
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sat Jul 5 15:18:32 2025 +0100
Supress GITWEB tests for now - Part2
---
.../main/java/net/shibboleth/shared/testing/RepositorySupport.java | 6 +++++-
.../java/net/shibboleth/shared/testing/RepositorySupportTest.java | 5 ++---
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/shib-testing/src/main/java/net/shibboleth/shared/testing/RepositorySupport.java b/shib-testing/src/main/java/net/shibboleth/shared/testing/RepositorySupport.java
index cc65a21b..af4bb646 100644
--- a/shib-testing/src/main/java/net/shibboleth/shared/testing/RepositorySupport.java
+++ b/shib-testing/src/main/java/net/shibboleth/shared/testing/RepositorySupport.java
@@ -28,7 +28,11 @@ import net.shibboleth.shared.primitive.StringSupport;
public final class RepositorySupport {
/** Constructor. */
- private RepositorySupport() { }
+ private RepositorySupport() { }
+
+ /** Temporarily suppress the gitweb tests until we have a long term fix. */
+ public static final boolean ENABLE_GITWEB_TESTS = false;
+
/**
* Build an HTTPS resource URL for the selected repository name and path on the main branch.
diff --git a/shib-testing/src/test/java/net/shibboleth/shared/testing/RepositorySupportTest.java b/shib-testing/src/test/java/net/shibboleth/shared/testing/RepositorySupportTest.java
index 91562781..19700d75 100644
--- a/shib-testing/src/test/java/net/shibboleth/shared/testing/RepositorySupportTest.java
+++ b/shib-testing/src/test/java/net/shibboleth/shared/testing/RepositorySupportTest.java
@@ -7,10 +7,9 @@ import java.net.URL;
import org.testng.Assert;
import org.testng.annotations.Test;
-
public class RepositorySupportTest {
- @Test
+ @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
public void testBuildHTTPResourceURLTest() throws IOException {
final String s = RepositorySupport.buildHTTPResourceURL("java-support",
"src/test/java/net/shibboleth/utilities/java/support/test/repository/RepositorySupport.java", false);
@@ -19,7 +18,7 @@ public class RepositorySupportTest {
Assert.assertNotNull(u.getContent());
}
- @Test
+ @Test(enabled=RepositorySupport.ENABLE_GITWEB_TESTS)
public void testBuildHTTPSResourceURLTest() throws IOException {
final String s = RepositorySupport.buildHTTPSResourceURL("java-support",
"src/test/java/net/shibboleth/utilities/java/support/test/repository/RepositorySupport.java");
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list