[ 
https://issues.apache.org/jira/browse/SLIDER-1200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15849505#comment-15849505
 ] 

ASF subversion and git services commented on SLIDER-1200:
---------------------------------------------------------

Commit 8850d062b1dcf3de1608ced67a0860eeb340a975 in incubator-slider's branch 
refs/heads/develop from [~gsaha]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-slider.git;h=8850d06 ]

SLIDER-1200 TestLongLivedProcess#testSetenv and 
TestWorkflowForkedProcessService#testSetenv fail in certain scenarios


> TestLongLivedProcess#testSetenv and 
> TestWorkflowForkedProcessService#testSetenv fail in certain scenarios
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: SLIDER-1200
>                 URL: https://issues.apache.org/jira/browse/SLIDER-1200
>             Project: Slider
>          Issue Type: Bug
>          Components: test
>    Affects Versions: Slider 0.91
>            Reporter: Gour Saha
>            Assignee: Gour Saha
>             Fix For: Slider 1.0.0
>
>
> The following 2 unit tests fail in certain scenario when the containers have 
> more than 64 env variables -
> TestLongLivedProcess#testSetenv
> TestWorkflowForkedProcessService#testSetenv
> Error msg is like -
> {code}
> Error Message
> Text "TEST-RUN-ENV-VALUE" not found in 64 lines
> [out] term=xterm
> .
> .
> Stacktrace
> java.lang.AssertionError: Text "TEST-RUN-ENV-VALUE" not found in 64 lines
> [out] term=xterm
> .
> .
>         at org.junit.Assert.fail(Assert.java:88)
>         at 
> org.apache.slider.server.services.workflow.WorkflowServiceTestBase.assertStringInOutput(WorkflowServiceTestBase.java:136)
>         at 
> org.apache.slider.server.services.workflow.TestWorkflowForkedProcessService.testSetenv(TestWorkflowForkedProcessService.java:120)
> Standard Output
> 2017-02-01 19:54:17,303 [JUnit] DEBUG workflow.LongLivedProcess 
> (LongLivedProcess.java:spawnChildProcess(293)) - Spawning process:
>  "env"
> 2017-02-01 19:54:17,306 [testSetenv-008] DEBUG workflow.LongLivedProcess 
> (LongLivedProcess.java:run(318)) - Lifecycle callback thread running
> 2017-02-01 19:54:17,306 [testSetenv-008] DEBUG workflow.ForkedProcessService 
> (ForkedProcessService.java:onProcessStarted(174)) - Process has started
> 2017-02-01 19:54:17,307 [testSetenv-008] DEBUG workflow.LongLivedProcess 
> (LongLivedProcess.java:run(331)) - process testSetenv has finished
> 2017-02-01 19:54:17,307 [testSetenv-007] INFO  workflow.ForkedProcessService 
> (LongLivedProcess.java:recordRecentLine(447)) - TERM=xterm
> .
> .
> 2017-02-01 19:54:17,346 [testSetenv-008] DEBUG workflow.ForkedProcessService 
> (ForkedProcessService.java:onProcessExited(190)) - Process has exited with 
> exit code 0
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to