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

Improve cross test servers and clients further

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: