Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-4481

e2e tests ComputeSpec_1, ComputeSpec_2 and StreamingPerformance_3 produce different result on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Pending Closed
    • None
    • 0.15.0
    • e2e harness
    • Reviewed

    Description

      ComputeSpec_1, ComputeSpec_2 and StreamingPerformance_3 produce the wrong result on Windows. Since Pig compare the test result with old version of Pig, which also produce wrong result, the test still pass.

      The cause of the issue is the parameter passing under Windows. Some parameter of executable cannot pass correctly on Windows. StreamingPerformance_3 requires a simple quoting change and command line change. However, I didn't find a proper way to fix ComputeSpec_1 and ComputeSpec_2 as FS and OFS parameters could not be passed correctly to awk. Changing the test slightly to get around (not changing the intention of the test).

      Attachments

        1. PIG-4481-6.patch
          3 kB
          Daniel Dai
        2. PIG-4481-5.patch
          3 kB
          Daniel Dai
        3. PIG-4481-4.patch
          2 kB
          Daniel Dai
        4. PIG-4481-3.patch
          3 kB
          Daniel Dai
        5. PIG-4481-2.patch
          3 kB
          Daniel Dai
        6. PIG-4481-1.patch
          2 kB
          Daniel Dai

        Activity

          People

            daijy Daniel Dai
            daijy Daniel Dai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: