Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-1219

Few TestSliderUtils UT are failing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Bug
    • None
    • None
    • test
    • None

    Description

      Few TestSliderUtils tests are failing as below.

      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)
      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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            yeshavora Yesha Vora
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: