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

Improve cross test servers and clients

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.3
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      Haskell

      The test server and client ignore --transport and --ssl arguments and always use raw socket.
      I updated those apps so that it uses available transports but following are disabled because they are not available at this time.
      http transport for server
      evhttp transport for client and server
      SSL
      Other than that, the patch adds testBinary and testBool calls to the client.

      C++

      • testBinary, testStringMap and testMulti were missing
      • testInsane and testMapMap didn't validate received values
      • return code didn't follow what specified in test/README.md (although it's common)
      • testInsanity didn't follow spec

      Perl and NodeJS

      • testInsanity was following C++ version

      Python

      • Fix testMapMap and testInsanity
      • Add testBinary (Skipped for JSON proto to avoid make check failure)
      • Enabled logging for test server so that log files actually have something at least

        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: