You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Kirk Lund (JIRA)" <ji...@apache.org> on 2017/10/13 19:45:00 UTC

[jira] [Resolved] (GEODE-1462) Change tests with OS conditional early-outs to use org.junit.Assume

     [ https://issues.apache.org/jira/browse/GEODE-1462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kirk Lund resolved GEODE-1462.
------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0.0-incubating.M3

This was fixed when GEODE-837 was completed.

> Change tests with OS conditional early-outs to use org.junit.Assume
> -------------------------------------------------------------------
>
>                 Key: GEODE-1462
>                 URL: https://issues.apache.org/jira/browse/GEODE-1462
>             Project: Geode
>          Issue Type: Improvement
>          Components: tests
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>            Priority: Minor
>             Fix For: 1.0.0-incubating.M3
>
>
> Example:
> {noformat}
> @Test
> public void testWarning() throws Exception {
>   if (!isLinux()) {
>     return;
>   }
> {noformat}
> This should instead use:
> {noformat}
> @Test
> public void testWarning() throws Exception {
>   assumeTrue(SystemUtils.isLinux());
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)