You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "tc_commenter (JIRA)" <ji...@apache.org> on 2015/05/26 16:08:21 UTC
[jira] [Commented] (IGNITE-469) when running selected tests from a
test class #afterTestsStopped() is not invoked.
[ https://issues.apache.org/jira/browse/IGNITE-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14559136#comment-14559136 ]
tc_commenter commented on IGNITE-469:
-------------------------------------
There was triggered next test builds for last attached patch-file:
Ignite AOP - http://204.14.53.152/viewQueued.html?itemId=86376
Ignite AWS - http://204.14.53.152/viewQueued.html?itemId=86377
Ignite Basic - http://204.14.53.152/viewQueued.html?itemId=86378
Ignite Cache - http://204.14.53.152/viewQueued.html?itemId=86379
Ignite Cache 2 - http://204.14.53.152/viewQueued.html?itemId=86380
Ignite Cache 3 - http://204.14.53.152/viewQueued.html?itemId=86381
Ignite Cache 4 - http://204.14.53.152/viewQueued.html?itemId=86382
Ignite Cache Expiry Policy - http://204.14.53.152/viewQueued.html?itemId=86383
Ignite Cache Failover - http://204.14.53.152/viewQueued.html?itemId=86384
Ignite Cache Full API - http://204.14.53.152/viewQueued.html?itemId=86385
Ignite Cache Restarts - http://204.14.53.152/viewQueued.html?itemId=86386
Ignite Cache Tx Recovery - http://204.14.53.152/viewQueued.html?itemId=86387
Ignite Cloud - http://204.14.53.152/viewQueued.html?itemId=86388
Ignite Compute Grid - http://204.14.53.152/viewQueued.html?itemId=86389
Ignite Data Strucutures - http://204.14.53.152/viewQueued.html?itemId=86390
Ignite Examples - http://204.14.53.152/viewQueued.html?itemId=86391
Ignite GCE - http://204.14.53.152/viewQueued.html?itemId=86392
Ignite Geospacial Indexing - http://204.14.53.152/viewQueued.html?itemId=86393
Ignite H2 Indexing - http://204.14.53.152/viewQueued.html?itemId=86394
Ignite Hadoop - http://204.14.53.152/viewQueued.html?itemId=86395
Ignite Hibernate - http://204.14.53.152/viewQueued.html?itemId=86396
Ignite IGFS - http://204.14.53.152/viewQueued.html?itemId=86397
Ignite IGFS Examples - http://204.14.53.152/viewQueued.html?itemId=86398
Ignite IGFS Linux and MacOS - http://204.14.53.152/viewQueued.html?itemId=86399
Ignite Java Client - http://204.14.53.152/viewQueued.html?itemId=86400
Ignite JDBC Driver - http://204.14.53.152/viewQueued.html?itemId=86401
Ignite JTA - http://204.14.53.152/viewQueued.html?itemId=86402
Ignite Logging - http://204.14.53.152/viewQueued.html?itemId=86403
Ignite Logging-Patch - http://204.14.53.152/viewQueued.html?itemId=86404
Ignite Queries - http://204.14.53.152/viewQueued.html?itemId=86405
Ignite Scalar Examples - http://204.14.53.152/viewQueued.html?itemId=86406
Ignite SPI - http://204.14.53.152/viewQueued.html?itemId=86407
Ignite Spring - http://204.14.53.152/viewQueued.html?itemId=86408
Ignite Start Nodes - http://204.14.53.152/viewQueued.html?itemId=86409
Ignite URI Deploy SPI - http://204.14.53.152/viewQueued.html?itemId=86410
Ignite Visor Console - http://204.14.53.152/viewQueued.html?itemId=86411
Ignite WebSessions - http://204.14.53.152/viewQueued.html?itemId=86412
JCache TCK - http://204.14.53.152/viewQueued.html?itemId=86413
> when running selected tests from a test class #afterTestsStopped() is not invoked.
> ----------------------------------------------------------------------------------
>
> Key: IGNITE-469
> URL: https://issues.apache.org/jira/browse/IGNITE-469
> Project: Ignite
> Issue Type: Bug
> Components: build
> Affects Versions: sprint-1
> Reporter: Ivan Veselovsky
> Assignee: Vladimir Ozerov
> Fix For: sprint-5
>
> Attachments: IGNITE-469--a.patch
>
>
> JUnit test infrastructure in Ignite has custom test engine that invokes #afterTestsStopped() when org.apache.ignite.testframework.junits.GridAbstractTest#isLastTest() == true:
> return cntrs.getStopped() == cntrs.getNumberOfTests();
> , where getNumberOfTests() is calculated by counting all the public class methods starting with "test".
> When we execute selected tests (I guess, does not matter from maven or from IDE), cntrs.getStopped() is always less than the total number of tests in the test class, so #afterTestsStopped() is not executed.
> This leaves unfinished processes like Ignite nodes that afterwards affect the behavior of other tests.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)