]
Damien Vidal updated ARQ-1982:
------------------------------
Summary: Each test case is launched 4 times in OSGi (was: Each test case is launched
4 times)
Each test case is launched 4 times in OSGi
------------------------------------------
Key: ARQ-1982
URL:
https://issues.jboss.org/browse/ARQ-1982
Project: Arquillian
Issue Type: Bug
Environment: Bundle-ClassPath: .,
lib/jbosgi-metadata-3.0.1.Final.jar,
lib/arquillian-config-api-1.1.9.Final.jar,
lib/arquillian-config-impl-base-1.1.9.Final.jar,
lib/arquillian-container-impl-base-1.1.9.Final.jar,
lib/arquillian-container-spi-1.1.9.Final.jar,
lib/arquillian-container-test-api-1.1.9.Final.jar,
lib/arquillian-container-test-impl-base-1.1.9.Final.jar,
lib/arquillian-container-test-spi-1.1.9.Final.jar,
lib/arquillian-core-api-1.1.9.Final.jar,
lib/arquillian-core-impl-base-1.1.9.Final.jar,
lib/arquillian-core-spi-1.1.9.Final.jar,
lib/arquillian-drone-api-1.3.1.Final.jar,
lib/arquillian-drone-configuration-1.3.1.Final.jar,
lib/arquillian-drone-impl-1.3.1.Final.jar,
lib/arquillian-drone-selenium-1.3.1.Final.jar,
lib/arquillian-drone-selenium-server-1.3.1.Final.jar,
lib/arquillian-drone-spi-1.3.1.Final.jar,
lib/arquillian-drone-webdriver-1.3.1.Final.jar,
lib/arquillian-junit-container-1.1.9.Final.jar,
lib/arquillian-junit-core-1.1.9.Final.jar,
lib/arquillian-junit-standalone-1.1.9.Final.jar,
lib/arquillian-test-api-1.1.9.Final.jar,
lib/arquillian-test-impl-base-1.1.9.Final.jar,
lib/arquillian-test-spi-1.1.9.Final.jar,
lib/arquillian-testenricher-cdi-1.1.5.Final.jar,
lib/arquillian-testenricher-initialcontext-1.1.5.Final.jar,
lib/arquillian-testenricher-resource-1.1.5.Final.jar,
lib/arquillian-tomcat-embedded-6-1.0.0.CR7.jar,
lib/jetty-rc-repacked-5.jar,
lib/jetty-repacked-7.6.1.jar,
lib/operadriver-1.1.jar,
lib/operalaunchers-1.1.jar,
lib/phantomjsdriver-1.1.0.jar,
lib/selenium-api-2.47.1.jar,
lib/selenium-chrome-driver-2.47.1.jar,
lib/selenium-edge-driver-2.47.1.jar,
lib/selenium-firefox-driver-2.47.1.jar,
lib/selenium-htmlunit-driver-2.47.1.jar,
lib/selenium-ie-driver-2.47.1.jar,
lib/selenium-java-2.47.1.jar,
lib/selenium-leg-rc-2.47.1.jar,
lib/selenium-remote-driver-2.47.1.jar,
lib/selenium-safari-driver-2.47.1.jar,
lib/selenium-server-2.47.1.jar,
lib/selenium-support-2.47.1.jar,
lib/shrinkwrap-api-1.2.2.jar,
lib/shrinkwrap-container-tomcat-60-1.0.0-beta-1.jar,
lib/shrinkwrap-descriptors-api-base-2.0.0-alpha-7.jar,
lib/shrinkwrap-descriptors-spi-2.0.0-alpha-7.jar,
lib/shrinkwrap-impl-base-1.2.2.jar,
lib/shrinkwrap-spi-1.2.2.jar,
lib/jboss-logging-3.3.0.Final.jar,
lib/httpclient-4.3.1.jar,
lib/httpcore-4.3.jar,
lib/httpmime-4.4.1.jar,
lib/guava-19.0-rc1.jar,
lib/gson-2.3.1.jar,
lib/commons-exec-1.3.jar,
lib/commons-lang3-3.4.jar
Reporter: Damien Vidal
Labels: Arquillian, OSGI
Each test is called 4 times on the following orders.
@Before
@Before
@Test - firstTest
@Test - firstTest
@After
@After
@Before
@Before
@Test - firstTest
@Test - firstTest
@After
@After
-------------------------
@Before
@Before
@Test - secondTest
@Test - secondTest
@After
@After
@Before
@Before
@Test - secondTest
@Test - secondTest
@After
@After
Note:
---------
I tried without Drone -> same issue
I tried without RunAsClient and without Deployment -> same issue
The instance of the SampleTest Class is the same for each call of @Test method