[
https://issues.apache.org/jira/browse/PHOENIX-2462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15031958#comment-15031958
]
Josh Mahonin commented on PHOENIX-2462:
---------------------------------------
Attached patch gets things working again.
I think the issue is that there's a "@ClassRule" annotation in BaseTest that
isn't getting picked up by ScalaTest. According to [1], switching ScalaTest to
use 'JUnitSuite' instead of the existing 'FunSuite' should let the rules start
to work implicitly, and fix the tests being so brittle.
I don't think it's too much work to switch the tests, but it's not quite a
1-liner either. I'll file a JIRA for this, though I'm not sure when I'll be
able to get to it.
[1] https://groups.google.com/forum/#!topic/scalatest-users/ayjVDbNiOas
> Add tephra test dependency to spark module
> ------------------------------------------
>
> Key: PHOENIX-2462
> URL: https://issues.apache.org/jira/browse/PHOENIX-2462
> Project: Phoenix
> Issue Type: Sub-task
> Reporter: James Taylor
> Attachments: PHOENIX-2462-v2.patch, PHOENIX-2462.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)