fix shutdown of pending StressSpec, #21960 (#21963)

This commit is contained in:
Patrik Nordwall 2016-12-07 15:38:11 +01:00 committed by Konrad Malawski
parent 12536a3537
commit dce668771e
5 changed files with 26 additions and 15 deletions

View file

@ -107,10 +107,8 @@ abstract class NodeChurnSpec
def isArteryEnabled: Boolean = RARP(system).provider.remoteSettings.Artery.Enabled
// FIXME issue #21483
if (isArteryEnabled) pending
"Cluster with short lived members" must {
"setup stable nodes" taggedAs LongRunningTest in within(15.seconds) {
val logListener = system.actorOf(Props(classOf[LogListener], testActor), "logListener")
system.eventStream.subscribe(logListener, classOf[Info])
@ -119,6 +117,10 @@ abstract class NodeChurnSpec
enterBarrier("stable")
}
// FIXME issue #21483
// note: there must be one test step before pending, otherwise afterTermination will not run
if (isArteryEnabled) pending
"join and remove transient nodes without growing gossip payload" taggedAs LongRunningTest in {
// This test is configured with log-frame-size-exceeding and the LogListener
// will send to the testActor if unexpected increase in message payload size.

View file

@ -1153,8 +1153,6 @@ abstract class StressSpec
"A cluster under stress" must {
if (isArteryEnabled) pending
"log settings" taggedAs LongRunningTest in {
if (infolog) {
log.info("StressSpec JVM:\n{}", jvmInfo)
@ -1165,6 +1163,10 @@ abstract class StressSpec
enterBarrier("after-" + step)
}
// FIXME issue #21810
// note: there must be one test step before pending, otherwise afterTermination will not run
if (isArteryEnabled) pending
"join seed nodes" taggedAs LongRunningTest in within(30 seconds) {
val otherNodesJoiningSeedNodes = roles.slice(numberOfSeedNodes, numberOfSeedNodes + numberOfNodesJoiningToSeedNodesInitially)
@ -1349,5 +1351,4 @@ abstract class StressSpec
enterBarrier("after-" + step)
}
}
}