[ 
https://issues.apache.org/jira/browse/PHOENIX-5554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16993386#comment-16993386
 ] 

Istvan Toth commented on PHOENIX-5554:
--------------------------------------

I've backported the changes to the 4.x branches.

My heuristics has made a few mistakes, but I hope that I've caught and fixed 
all of incorrect changes.

> Synchronize @Parameters, @BeforeClass and @AfterClass methods
> -------------------------------------------------------------
>
>                 Key: PHOENIX-5554
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5554
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Istvan Toth
>            Assignee: Istvan Toth
>            Priority: Major
>             Fix For: 5.1.0, 4.15.1
>
>         Attachments: PHOENIX-5554.master.v1.patch
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> According to the failsafe docs, all methods that are annotated with 
> @Parameters, @BeforeClass and @AfterClass should be synchronized.
> This is not just a theoretical problem, it causes random test failures, like 
> [https://builds.apache.org/job/PreCommit-PHOENIX-Build/3078//testReport/org.apache.phoenix.end2end/DescOrderKeysIT/org_apache_phoenix_end2end_DescOrderKeysIT/]
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to