Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-32119

Fix random on SAMLAuthenticatorTest.testLoginPrompt on 2023

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Authentication, SAML

      Description

      on a 2023 PR (unrelated to saml module) against mongodb

      [2023-10-16T11:41:00.228Z] [ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 8.749 s <<< FAILURE! - in org.nuxeo.ecm.platform.auth.saml.SAMLAuthenticatorTest
      [2023-10-16T11:41:00.228Z] [ERROR] testLoginPrompt(org.nuxeo.ecm.platform.auth.saml.SAMLAuthenticatorTest)  Time elapsed: 0.624 s  <<< FAILURE!
      [2023-10-16T11:41:00.228Z] org.junit.ComparisonFailure: 
      [2023-10-16T11:41:00.228Z] expected:<..."2023-10-16T11:40:53[]Z" Version="2.0">
      [2023-10-16T11:41:00.228Z]   ...> but was:<..."2023-10-16T11:40:53[.000]Z" Version="2.0">
      [2023-10-16T11:41:00.228Z]   ...>
      [2023-10-16T11:41:00.228Z] 	at org.junit.Assert.assertEquals(Assert.java:11
      [2023-10-16T11:41:00.228Z] 	at org.junit.Assert.assertEquals(Assert.java:146)
      [2023-10-16T11:41:00.228Z] 	at org.nuxeo.ecm.platform.auth.saml.SAMLFeature.assertSAMLMessage(SAMLFeature.java:96)
      [2023-10-16T11:41:00.228Z] 	at org.nuxeo.ecm.platform.auth.saml.SAMLAuthenticatorTest.testLoginPrompt(SAMLAuthenticatorTest.java:104)
      [2023-10-16T11:41:00.229Z] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [2023-10-16T11:41:00.229Z] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: