You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Sergio Peña (JIRA)" <ji...@apache.org> on 2017/07/10 20:11:02 UTC

[jira] [Updated] (SENTRY-1267) Improve skipSlowAndNotThreadSafeTests blacklist/whitelist

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

Sergio Peña updated SENTRY-1267:
--------------------------------
    Fix Version/s:     (was: 1.8.0)
                   2.0.0

Moving all unresolved jiras with fix version 1.8.0 to 2.0.0. Please change the fix version if you intend to make it into 1.8.0 release.

> Improve skipSlowAndNotThreadSafeTests blacklist/whitelist
> ---------------------------------------------------------
>
>                 Key: SENTRY-1267
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1267
>             Project: Sentry
>          Issue Type: Improvement
>          Components: Test
>    Affects Versions: 1.8.0
>            Reporter: Gregory Chanan
>             Fix For: 2.0.0
>
>
> We currently explicitly exclude certain non thread safe tests:
> https://github.com/apache/sentry/blob/2109f42945cb132c4bf738649abf2935288d1e20/pom.xml#L897-L903
> Though it's nice that this list is in one place, this is unmaintainable as we add more tests.  The usual way of solving this is to define annotations around the tests that define when they should run.  E.g. in this case, there are a bunch of non-thread safe tests that derive from SentryGenericServiceIntegrationBase.  We can just annotate this base class with @NonThreadSafe or something, which will be less of a maintenance headache.



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