[
https://issues.apache.org/jira/browse/PHOENIX-130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13930086#comment-13930086
]
Gabriel Reid commented on PHOENIX-130:
--------------------------------------
[~jamestaylor] about the failing
WhereCompilerTest#testToNumberFilterWithPatternParam test, I get the following
assertion error:
{code}
Failed tests:
WhereCompilerTest.testToNumberFilterWithPatternParam:328->helpTestToNumberFilter:291
expected:<X_DECIMAL >= 123.333> but was:<null>
{code}
This happens both when running from my IDE (Intellij) and running with maven.
I've just confirmed it on the lastest 3.0 branch and master. It's running with
JDK 1.7.0_40 on a Mac, and given that it works for you then I'm assuming it's
some kind of environment issue, so I'll try to look into it further and log it
in a different ticket if I find something.
> Separate execution of slow (integration) tests from fast unit tests
> -------------------------------------------------------------------
>
> Key: PHOENIX-130
> URL: https://issues.apache.org/jira/browse/PHOENIX-130
> Project: Phoenix
> Issue Type: Improvement
> Reporter: Gabriel Reid
> Attachments: PHOENIX-130.patch
>
>
> The current collection of automated unit tests and integration tests takes a
> significant amount of time to run (somewhere in the neighborhood of 90
> minutes on my machine).
> I’d like to propose that the automated tests are split up into two groups:
> * unit tests, which don’t make use of a running HBase and run quickly, and
> will be run within the maven test phase
> * integration tests, which do make use of a running HBase and run more
> slowly, and will be run within the maven integration-test phase
> This approach has the advantage that all fast-running unit tests will be run
> before the integration tests, so if there is a minor issue the build will
> fail-fast instead of first running long-running integration tests before
> failing. It also makes it possible to quickly and regularly run “mvn test”
> during development to run all unit tests in a matter of seconds.
--
This message was sent by Atlassian JIRA
(v6.2#6252)