[
https://issues.jboss.org/browse/ISPN-4921?page=com.atlassian.jira.plugin....
]
Martin Gencur updated ISPN-4921:
--------------------------------
Description:
All occurences of
{code:java}
@Test(groups = "functional,smoke",......
{code}
should be changed to
{code:java}
@Test(groups = {"functional", "smoke"} ....
{code}
was:
There's probably a bug in TestNG. When multiple groups are defined on a test class,
the test is only run if the requested (active) group is the last one defined withing @Test
annotation.
{code:java}
@Test(groups = "functional,smoke", testName =
"api.batch.BatchWithoutTMTest")
public class BatchWithoutTMTest {....}
{code}
The above test class is only run if "smoke" TestNG group is active. OTOH, if
"functional" group is active, this test is not run.
Tests in "smoke" TestNG group do not run in default
profile
-----------------------------------------------------------
Key: ISPN-4921
URL:
https://issues.jboss.org/browse/ISPN-4921
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Affects Versions: 7.0.0.CR2
Reporter: Martin Gencur
Assignee: Martin Gencur
All occurences of
{code:java}
@Test(groups = "functional,smoke",......
{code}
should be changed to
{code:java}
@Test(groups = {"functional", "smoke"} ....
{code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)