You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Billie Rinaldi (JIRA)" <ji...@apache.org> on 2014/09/26 16:56:33 UTC
[jira] [Updated] (SLIDER-448) AMFailuresIT needs vagrant
[ https://issues.apache.org/jira/browse/SLIDER-448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Billie Rinaldi updated SLIDER-448:
----------------------------------
Attachment: SLIDER-448-1.patch
I tried the attached patch to fall back to killAMUsingAmSuicide if vagrant isn't set up, but then the test fails with the following. Any ideas, [~stevel@apache.org]?
testAMKilledWithStateAMStartedAgentsStarted(org.apache.slider.funtest.lifecycle.AMFailuresIT) Time elapsed: 62.177 sec <<< FAILURE!
java.lang.AssertionError: App should be in ACCEPTED state (since AM got killed). Expression: org.apache.slider.funtest.lifecycle.AMFailuresIT.isApplicationInState(ACCEPTED, APPLICATION_NAME)
> AMFailuresIT needs vagrant
> --------------------------
>
> Key: SLIDER-448
> URL: https://issues.apache.org/jira/browse/SLIDER-448
> Project: Slider
> Issue Type: Bug
> Components: test
> Reporter: Billie Rinaldi
> Assignee: Billie Rinaldi
> Fix For: Slider 0.60
>
> Attachments: SLIDER-448-1.patch
>
>
> I'm getting a failure: AMFailuresIT.testAMKilledWithStateAMStartedAgentsStarted:87->killAMUsingVagrantShell:152 Please set vagrant.current.working.dir to the directory which contains the Vagrantfile. Expression: dirCheck.exists()
> Maybe we should make the check for the vagrant.current.working.dir an "assume" rather than an "assert" so that it just skips that test if you don't have vagrant set up. The tests will not always be run on a vagrant cluster.
> Then we have the question of how to discover that you could be setting that property to enable an additional test ...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)