[
https://issues.apache.org/jira/browse/HBASE-9659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Shelukhin updated HBASE-9659:
------------------------------------
Description:
When I run mvn test (or verify) - Dtest=IntegrationTestIngest, the test fails
instantly, seemingly because initialization doesn't run. -I am assuming junit
is not picking before-after methods from the superclass-, could be some other
issue.
Also, if it does run, it won't be very useful because it runs with calm monkey
by default.
We need to detect being run locally rather than as AbstractHBaseTool (probably
any time JUnit-annotated methods like Before are called), and set up a
different chaos monkey, such as an old default one.
May also apply to other tests.
was:
When I run mvn test (or verify) -Dtest=IntegrationTestIngest, the test fails
instantly, seemingly because initialization doesn't run. -I am assuming junit
is not picking before-after methods from the superclass-, could be some other
issue.
Also, if it does run, it won't be very useful because it runs with calm monkey
by default.
We need to detect being run locally rather than as AbstractHBaseTool (probably
any time JUnit-annotated methods like Before are called), and set up a
different chaos monkey, such as an old default one.
May also apply to other tests.
> some integration tests can no longer be run using maven
> -------------------------------------------------------
>
> Key: HBASE-9659
> URL: https://issues.apache.org/jira/browse/HBASE-9659
> Project: HBase
> Issue Type: Bug
> Components: test
> Affects Versions: 0.96.0
> Reporter: Sergey Shelukhin
> Assignee: Sergey Shelukhin
> Fix For: 0.98.0, 0.96.1
>
> Attachments: HBASE-9659-v0-0.96.patch, HBASE-9659-v0.patch
>
>
> When I run mvn test (or verify) - Dtest=IntegrationTestIngest, the test fails
> instantly, seemingly because initialization doesn't run. -I am assuming junit
> is not picking before-after methods from the superclass-, could be some other
> issue.
> Also, if it does run, it won't be very useful because it runs with calm
> monkey by default.
> We need to detect being run locally rather than as AbstractHBaseTool
> (probably any time JUnit-annotated methods like Before are called), and set
> up a different chaos monkey, such as an old default one.
> May also apply to other tests.
--
This message was sent by Atlassian JIRA
(v6.1#6144)