Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-103901

Cut down runtime of ssl_mixedmode.js test

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Fully Compatible
    • Server Security 2025-04-28
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      This test runs for over 6 mins because it waits for the assert.soon in TLSTest.prototype.connectWorked to time out for two of the test cases where we expect the connection to fail: namely 1. when the server requires TLS, but the client does not set tls on, and 2. when the server disables TLS, but the client has tls on.

      If we can find a way to verify that the connection attempt fails for these two cases without having the assert.soon time out, then we can cut the runtime of this test to a mere few seconds.

            Assignee:
            erwin.pe@mongodb.com Erwin Pe
            Reporter:
            erwin.pe@mongodb.com Erwin Pe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: