Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3360

Improve cross test servers and clients further

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: None
    • Labels:
      None

      Description

      This is follow up fixes to THRIFT-3347
      All except C# cross tests in tests.json are mostly fixed now.

      Java

      • Add missing client calls
      • Add missing client assersions
      • Semantic return code
      • Fix insane server handler

      Note that because of newly introduced Java testBinary and assertions, many failures are discovered and listed.
      Binary incompatibility is tracked in THRIFT-3359 and I'm working on it.

      Python

      • Fix testException
      • Add testMultiException

      Javascript

      • Fix testInsanity

      C++

      • Do not return "basic type error" when connection etc. failed

      c_glib

      • Fix client testInsanity (I forgot to include this to THRIFT-3347)
      • Fix server insane handler

      Return code

      I want to introduce new semantice return values, so updated test/README.md in the pull request.
      The timeout bit is already used by test.py.

      + #define TEST_UNKNOWN 64 // 0100 0000 (Failed to prepare environemt etc.)
      + #define TEST_TIMEOUT 128 // 1000 0000

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nsuke Nobuaki Sukegawa
                Reporter:
                nsuke Nobuaki Sukegawa
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: