Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-7583

[C++][Flight] Auth handler tests fragile on Windows

    XMLWordPrintableJSON

    Details

      Description

      This occurs often on AppVeyor:

      [----------] 3 tests from TestAuthHandler
      [ RUN      ] TestAuthHandler.PassAuthenticatedCalls
      [       OK ] TestAuthHandler.PassAuthenticatedCalls (4 ms)
      [ RUN      ] TestAuthHandler.FailUnauthenticatedCalls
      ..\src\arrow\flight\flight_test.cc(1126): error: Value of: status.message()
      Expected: has substring "Invalid token"
        Actual: "Could not write record batch to stream: "
      [  FAILED  ] TestAuthHandler.FailUnauthenticatedCalls (3 ms)
      [ RUN      ] TestAuthHandler.CheckPeerIdentity
      [       OK ] TestAuthHandler.CheckPeerIdentity (2 ms)
      [----------] 3 tests from TestAuthHandler (10 ms total)
      [----------] 3 tests from TestBasicAuthHandler
      [ RUN      ] TestBasicAuthHandler.PassAuthenticatedCalls
      [       OK ] TestBasicAuthHandler.PassAuthenticatedCalls (4 ms)
      [ RUN      ] TestBasicAuthHandler.FailUnauthenticatedCalls
      ..\src\arrow\flight\flight_test.cc(1224): error: Value of: status.message()
      Expected: has substring "Invalid token"
        Actual: "Could not write record batch to stream: "
      [  FAILED  ] TestBasicAuthHandler.FailUnauthenticatedCalls (4 ms)
      [ RUN      ] TestBasicAuthHandler.CheckPeerIdentity
      [       OK ] TestBasicAuthHandler.CheckPeerIdentity (3 ms)
      [----------] 3 tests from TestBasicAuthHandler (11 ms total)
      

      See e.g. https://ci.appveyor.com/project/ApacheSoftwareFoundation/arrow/builds/30110376/job/vbtd22813g5hlgfl#L2252

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lidavidm David Li
                Reporter:
                apitrou Antoine Pitrou
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m