Gianmarco De Francisci Morales created PIG-3001:
---------------------------------------------------

             Summary: TestExecutableManager.testAddJobConfToEnv fails randomly
                 Key: PIG-3001
                 URL: https://issues.apache.org/jira/browse/PIG-3001
             Project: Pig
          Issue Type: Bug
            Reporter: Gianmarco De Francisci Morales
            Priority: Minor


The test in the Summary fails intermittently.
This is due to using a random number generator without seeding it.
We should avoid stochastic tests.
Furthermore, the test itself is ill conceived.

Here the failure summary:
{code}
12/10/23 11:02:48 WARN streaming.ExecutableManager: Property set in 
pig.streaming.environment not found in Configuration: ⻨ꢏ切歯
12/10/23 11:02:48 WARN streaming.ExecutableManager: Property set in 
pig.streaming.environment not found in Configuration: 狓偝
12/10/23 11:02:48 WARN streaming.ExecutableManager: Property set in 
pig.streaming.environment not found in Configuration: 墣챟㌌̀썬鼹騷
12/10/23 11:02:48 WARN streaming.ExecutableManager: Property set in 
pig.streaming.environment not found in Configuration: 훎滼
{code}

{code}
Error Message:
There should be no remaining pairs in the included map

Stacktrace:
junit.framework.AssertionFailedError: There should be no remaining pairs in the 
included map
        at 
org.apache.pig.impl.streaming.TestExecutableManager.testAddJobConfToEnv(TestExecutableManager.java:84)
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to