[java-identity-provider] branch master updated: Attempt to fix failing CAS test

Tom Zeller tzeller at dragonacea.biz
Fri Nov 9 12:21:20 EST 2018


This is an automated email from the git hooks/post-receive script.

tzeller pushed a commit to branch master
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=5331902030d59009c09c3496b89ea1bb7d6fe7f7

The following commit(s) were added to refs/heads/master by this push:
       new  5331902   Attempt to fix failing CAS test
5331902 is described below

commit 5331902030d59009c09c3496b89ea1bb7d6fe7f7
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Fri Nov 9 11:21:07 2018 -0600

    Attempt to fix failing CAS test
    
    Not sure why the test was working previously.
---
 .../net/shibboleth/idp/test/flows/cas/ServiceValidateFlowTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/idp-conf/src/test/java/net/shibboleth/idp/test/flows/cas/ServiceValidateFlowTest.java b/idp-conf/src/test/java/net/shibboleth/idp/test/flows/cas/ServiceValidateFlowTest.java
index b37e198..259b3d9 100644
--- a/idp-conf/src/test/java/net/shibboleth/idp/test/flows/cas/ServiceValidateFlowTest.java
+++ b/idp-conf/src/test/java/net/shibboleth/idp/test/flows/cas/ServiceValidateFlowTest.java
@@ -187,8 +187,7 @@ public class ServiceValidateFlowTest extends AbstractFlowTest {
         assertTrue(responseBody.contains("E_TICKET_EXPIRED"));
     }
 
-    // TODO: fix failing test in Jenkins
-    @Test(enabled=false)
+    @Test
     public void testSuccessWithProxy() throws Exception {
         final String principal = "john";
         final IdPSession session = sessionManager.createSession(principal);
@@ -202,6 +201,7 @@ public class ServiceValidateFlowTest extends AbstractFlowTest {
         externalContext.getMockRequestParameterMap().put("service", ticket.getService());
         externalContext.getMockRequestParameterMap().put("ticket", ticket.getId());
         externalContext.getMockRequestParameterMap().put("pgtUrl", "https://proxy.example.com/");
+        overrideEndStateOutput(FLOW_ID, "ValidateSuccess");
 
         testProxyValidator.setResponseCode(200);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list