Uploaded image for project: 'Maistra'
  1. Maistra
  2. MAISTRA-1509

Fix race within proxy integration test

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • maistra-1.1.3
    • None
    • None
    • MAISTRA 1.1.3

      There is a race within the proxy integration tests leading to the following failure

      src/envoy/http/jwt_auth/integration_test/http_filter_integration_test.cc:424: Failure
      Value of: fake_upstream_connection_backend->close()
        Actual: false (The connection disconnected unexpectedly, and allow_unexpected_disconnects_ is false.
       See https://github.com/envoyproxy/envoy/blob/master/test/integration/README.md#unexpected-disconnects)
      Expected: true
      Stack trace:
        0x5555570aa6c1: testing::internal::HandleExceptionsInMethodIfSupported<>()
        0x5555570aa8f8: testing::Test::Run()
        0x5555570aabf1: testing::TestInfo::Run()
        0x5555570aae85: testing::TestSuite::Run()
      

      The link details the correct ordering which should be close upstream first before the client.

              kconner@redhat.com Kevin Conner (Inactive)
              kconner@redhat.com Kevin Conner (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: