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

Gour Saha commented on SLIDER-218:
----------------------------------

Fixed the above test and made modifications to few others to align with 
expected failures. Added a positive test for build action as well. Patch file 
is uploaded for this fix.

> Unit Test failure causing build failure
> ---------------------------------------
>
>                 Key: SLIDER-218
>                 URL: https://issues.apache.org/jira/browse/SLIDER-218
>             Project: Slider
>          Issue Type: Bug
>          Components: agent-provider
>    Affects Versions: Slider 0.40
>            Reporter: Sumit Mohanty
>            Assignee: Gour Saha
>             Fix For: Slider 0.40
>
>         Attachments: SLIDER-218.patch
>
>
> {noformat}
> java.io.FileNotFoundException: 
> file:/Users/smohanty/.slider/cluster/test_bad_agent_args-5
>       at 
> org.apache.slider.core.persist.ConfPersister.acquireReadLock(ConfPersister.java:175)
>       at 
> org.apache.slider.core.persist.ConfPersister.load(ConfPersister.java:275)
>       at 
> org.apache.slider.providers.agent.TestBuildBasicAgent.loadInstanceDefinition(TestBuildBasicAgent.groovy:233)
>       at 
> org.apache.slider.providers.agent.TestBuildBasicAgent.failWithBuildSucceeding(TestBuildBasicAgent.groovy:458)
>       at 
> org.apache.slider.providers.agent.TestBuildBasicAgent.testBadAgentArgs(TestBuildBasicAgent.groovy:314)
> Results :
> Tests in error:
>   
> TestBuildBasicAgent.testBadAgentArgs:314->failWithBuildSucceeding:458->loadInstanceDefinition:233
>  ยป FileNotFound
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to