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

Make ingress admission tests wait until the operation is blocked on ingress admission

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc10
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch
    • Fully Compatible
    • v8.0
    • Workload Scheduling 2024-06-24
    • 200

      The function waitUntilIngressAdmissionIsBlocked in ingress admission JS tests does not actually wait until the operation is blocked on ingress admission. Instead, it waits until the pool is resized to 0. If the parallel shell gets the operation to the server fast enough, the test works, but the test shouldn't rely on timing like that. Instead, we can block the execution until the number of available tickets is down to 0.

            Assignee:
            vojislav.stojkovic@mongodb.com Vojislav Stojkovic
            Reporter:
            vojislav.stojkovic@mongodb.com Vojislav Stojkovic
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: