[ 
https://issues.apache.org/jira/browse/IGNITE-8558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16766245#comment-16766245
 ] 

Ignite TC Bot commented on IGNITE-8558:
---------------------------------------

{panel:title=--> Run :: All (Nightly): Possible 
Blockers|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}MVCC Cache 2{color} [[tests 0 TIMEOUT , Exit Code 
|https://ci.ignite.apache.org/viewLog.html?buildId=3069373]]

{color:#d04437}Web Sessions{color} [[tests 0 Exit Code 
|https://ci.ignite.apache.org/viewLog.html?buildId=3069303]]
* WebSessionV1SelfTest.testClientReconnectRequest (last started)

{color:#d04437}PDS (Indexing){color} [[tests 
1|https://ci.ignite.apache.org/viewLog.html?buildId=3069350]]
* IgnitePdsWithIndexingTestSuite: 
IgniteTwoRegionsRebuildIndexTest.testRebuildIndexes - 3,1% fails in last 418 
master runs.

{color:#d04437}Basic 1{color} [[tests 
1|https://ci.ignite.apache.org/viewLog.html?buildId=3069313]]
* IgniteBasicTestSuite: 
BPlusTreeFakeReuseSelfTest.testTestRandomPutRemoveMultithreaded_2_50_1 - 0,0% 
fails in last 573 master runs.

{color:#d04437}Binary Objects (Simple Mapper Compute Grid){color} [[tests 
1|https://ci.ignite.apache.org/viewLog.html?buildId=3069261]]
* IgniteBinaryObjectsSimpleNameMapperComputeGridTestSuite: 
GridCheckpointTaskSelfTest.testReduce - 0,0% fails in last 417 master runs.

{panel}
[TeamCity *--> Run :: All (Nightly)* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=3069393&buildTypeId=IgniteTests24Java8_RunAllNightly]

> Provide an opportunity to stop grids and cancel tasks after execution all 
> tests
> -------------------------------------------------------------------------------
>
>                 Key: IGNITE-8558
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8558
>             Project: Ignite
>          Issue Type: Sub-task
>    Affects Versions: 2.6
>            Reporter: Maxim Muzafarov
>            Assignee: Rodion
>            Priority: Minor
>              Labels: MakeTeamcityGreenAgain
>             Fix For: 2.8
>
>
> The -IGNITE-6842- issue provides an ability gracefully shutdown all ignite 
> instances by default after execution of tests. Ignite instances are stopped 
> by calling the method - {{stopAllGrids}} ({{cancel = false}} is used). You 
> can refer to these lines of code for the details of how the node stopped:
> {code:java|title=GridAbstractTest.java:1789}
>  if (isSafeTopology()) {
>      stopAllGrids(false);
>      if (stopGridErr) {
>          err = new RuntimeException("Not all Ignite instances has been 
> stopped. " +
>              "Please, see log for details.", err);
>      }
>  }
> {code}
> As part of IGNITE-8266 a lot of boilerplate code have been successfully 
> removed. For instance,
> {code:java}
> /** {@inheritDoc} */
> @Override protected void afterTestsStopped() throws Exception {
>     super.afterTestsStopped();
>     stopAllGrids();
> }
> {code}
> We need to,
>  * Provide the ability to override the behaviour of gracefully instance 
> shutdown and use {{stopAllGirds(true)}} after all tests execution. Assume a 
> new method would be introduced like {{GridAbstractTest#isSafeTopology}}, so 
> the behaviour can be overridden in subclasses.
>  * Remove the other boilerplate parts of the code. For instance,
> {code:java}
> /** {@inheritDoc} */
> @Override protected void afterTestsStopped() throws Exception {
>     stopAllGrids(true);
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to