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

TestJobControlSleep, TestInvokerSpeed are unreliable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.13.0
    • 0.14.0
    • None
    • None
    • jdk version:
      java version "1.7.0_60"
      java version "1.6.0_45"
      ant version
      Apache Ant(TM) version 1.9.4 compiled on April 29 2014

    • Reviewed

    Description

      This test case failed on both sun jdk 1.7 and sun jdk 1.6.

      sun jdk 1.6 error msg:
      Testcase: testLocalModeTakesLessThan5secs took 6.397 sec
      FAILED
      must take less than 5 seconds
      junit.framework.AssertionFailedError: must take less than 5 seconds
      at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.TestJobControlSleep.testLocalModeTakesLessThan5secs(TestJobControlSleep.java:53)

      sun jdk 1.7 error msg:
      Testcase: testLocalModeTakesLessThan5secs took 6.629 sec
      FAILED
      must take less than 5 seconds
      junit.framework.AssertionFailedError: must take less than 5 seconds
      at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.TestJobControlSleep.testLocalModeTakesLessThan5secs(TestJobControlSleep.java:53)

      Attachments

        1. PIG-4052-1.patch
          1 kB
          Daniel Dai

        Activity

          People

            daijy Daniel Dai
            fang fang chen fang fang chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: