Kirk Lund created GEODE-2455:
--------------------------------

             Summary: DescribeDiskStoreFunctionJUnitTest will still pass when 
wrong line throws expected exception
                 Key: GEODE-2455
                 URL: https://issues.apache.org/jira/browse/GEODE-2455
             Project: Geode
          Issue Type: Bug
          Components: tests
            Reporter: Kirk Lund


The tests in DescribeDiskStoreFunctionJUnitTest are using the JUnit @Test 
syntax expected exceptions. Unfortunately there are multiple lines within its 
tests that can throw the expected exceptions. After seeing this occur and the 
test passed, I decided to file this ticket to change the test to use 
assertThatThrownBy from AssertJ.



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

Reply via email to