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

Improve cross test servers and clients

    XMLWordPrintableJSON

Details

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

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

              Dates

                Created:
                Updated:
                Resolved: