You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Anthony Baker (JIRA)" <ji...@apache.org> on 2017/06/17 18:04:32 UTC
[jira] [Closed] (GEODE-2455) DescribeDiskStoreFunctionJUnitTest
will still pass when wrong line throws expected exception
[ https://issues.apache.org/jira/browse/GEODE-2455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anthony Baker closed GEODE-2455.
--------------------------------
> 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
> Assignee: Kirk Lund
> Fix For: 1.2.0
>
>
> 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.4.14#64029)