[
https://issues.apache.org/jira/browse/SLIDER-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gour Saha resolved SLIDER-1219.
-------------------------------
Resolution: Not A Bug
These 2 tests are specifically written to succeed on a community version of
Apache Slider only.
> Few TestSliderUtils UT are failing
> ----------------------------------
>
> Key: SLIDER-1219
> URL: https://issues.apache.org/jira/browse/SLIDER-1219
> Project: Slider
> Issue Type: Bug
> Components: test
> Reporter: Yesha Vora
>
> Few TestSliderUtils tests are failing as below.
> {code:title=testGetHdpVersion}
> Error Message
> Version should be empty expected:<null> but was:<xxxx>
> Stacktrace
> java.lang.AssertionError: Version should be empty expected:<null> but
> was:<xxxx>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:743)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at
> org.apache.slider.common.tools.TestSliderUtils.testGetHdpVersion(TestSliderUtils.java:144){code}
> {code:title=testIsHdp}
> Error Message
> Should be false
> Stacktrace
> java.lang.AssertionError: Should be false
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.junit.Assert.assertFalse(Assert.java:64)
> at
> org.apache.slider.common.tools.TestSliderUtils.testIsHdp(TestSliderUtils.java:150){code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)