Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-24665

Fix intermittent failures in OidcIdentityPropagationTestCase

    XMLWordPrintable

Details

    Description

      Certain tests in OidcIdentityPropagationTestCase can fail intermittently, as shown below:

      java.lang.AssertionError: Unexpected result alice,false
      	at org.junit.Assert.fail(Assert.java:89)
      	at org.junit.Assert.assertTrue(Assert.java:42)
      	at org.wildfly.test.integration.elytron.oidc.client.OidcBaseTest.loginToApp(OidcBaseTest.java:380)
      	at org.wildfly.test.integration.elytron.oidc.client.propagation.OidcIdentityPropagationTestCase.testServletToEjbSingleDeploymentOutflowNotConfigured(OidcIdentityPropagationTestCase.java:539)
      
      java.lang.AssertionError: Unexpected result alice,false
      	at org.junit.Assert.fail(Assert.java:89)
      	at org.junit.Assert.assertTrue(Assert.java:42)
      	at org.wildfly.test.integration.elytron.oidc.client.OidcBaseTest.loginToApp(OidcBaseTest.java:380)
      	at org.wildfly.test.integration.elytron.oidc.client.propagation.OidcIdentityPropagationTestCase.testServletToEjbInvocation(OidcIdentityPropagationTestCase.java:487)
      	at org.wildfly.test.integration.elytron.oidc.client.propagation.OidcIdentityPropagationTestCase.testServletToEjbSingleDeploymentLocal(OidcIdentityPropagationTestCase.java:456)
      
      java.lang.AssertionError: Unexpected result charlie,false
      	at org.junit.Assert.fail(Assert.java:89)
      	at org.junit.Assert.assertTrue(Assert.java:42)
      	at org.wildfly.test.integration.elytron.oidc.client.OidcBaseTest.loginToApp(OidcBaseTest.java:380)
      	at org.wildfly.test.integration.elytron.oidc.client.propagation.OidcIdentityPropagationTestCase.testServletToEjbSingleDeploymentOutflowNotPossibleNonExistentIdentity(OidcIdentityPropagationTestCase.java:508)
      
      java.lang.AssertionError: Unexpected result alice,false
      	at org.junit.Assert.fail(Assert.java:89)
      	at org.junit.Assert.assertTrue(Assert.java:42)
      	at org.wildfly.test.integration.elytron.oidc.client.OidcBaseTest.loginToApp(OidcBaseTest.java:380)
      	at org.wildfly.test.integration.elytron.oidc.client.propagation.OidcIdentityPropagationTestCase.testServletToEjbSingleDeploymentOutflowNotConfigured(OidcIdentityPropagationTestCase.java:539)
      

      We suspect that this is a test issue.

      Attachments

        Issue Links

          Activity

            People

              fjuma1@redhat.com Farah Juma
              fjuma1@redhat.com Farah Juma
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: