From abb58a15d8d4f93edf2b1eb0fbe5240019bcc769 Mon Sep 17 00:00:00 2001 From: Matthias Eichstedt Date: Fri, 17 Feb 2017 11:47:38 +0100 Subject: [PATCH] Mark tests as unstable ... (#5202) --- .../scala/mesosphere/mesos/scale/SingleAppScalingTest.scala | 4 +++- .../marathon/integration/AppDeployIntegrationTest.scala | 1 + .../AppDeployWithLeaderAbdicationIntegrationTest.scala | 1 + .../marathon/integration/GroupDeployIntegrationTest.scala | 1 + .../marathon/integration/ReadinessCheckIntegrationTest.scala | 1 + .../marathon/integration/TaskUnreachableIntegrationTest.scala | 1 + 6 files changed, 8 insertions(+), 1 deletion(-) diff --git a/mesos-simulation/src/test/scala/mesosphere/mesos/scale/SingleAppScalingTest.scala b/mesos-simulation/src/test/scala/mesosphere/mesos/scale/SingleAppScalingTest.scala index 589ac97c400..272b008d387 100644 --- a/mesos-simulation/src/test/scala/mesosphere/mesos/scale/SingleAppScalingTest.scala +++ b/mesos-simulation/src/test/scala/mesosphere/mesos/scale/SingleAppScalingTest.scala @@ -1,7 +1,8 @@ + package mesosphere.mesos.scale import mesosphere.AkkaIntegrationFunTest -import mesosphere.marathon.IntegrationTest +import mesosphere.marathon.{ IntegrationTest, UnstableTest } import mesosphere.marathon.api.v2.json.AppUpdate import mesosphere.marathon.integration.facades.MarathonFacade._ import mesosphere.marathon.integration.facades.{ ITDeploymentResult, MarathonFacade } @@ -20,6 +21,7 @@ object SingleAppScalingTest { } @IntegrationTest +@UnstableTest class SingleAppScalingTest extends AkkaIntegrationFunTest with ZookeeperServerTest with SimulatedMesosTest with MarathonTest with Eventually { val maxTasksPerOffer = Option(System.getenv("MARATHON_MAX_TASKS_PER_OFFER")).getOrElse("1") diff --git a/src/test/scala/mesosphere/marathon/integration/AppDeployIntegrationTest.scala b/src/test/scala/mesosphere/marathon/integration/AppDeployIntegrationTest.scala index 15eebb7c147..4e57d3e2113 100644 --- a/src/test/scala/mesosphere/marathon/integration/AppDeployIntegrationTest.scala +++ b/src/test/scala/mesosphere/marathon/integration/AppDeployIntegrationTest.scala @@ -17,6 +17,7 @@ import scala.concurrent.duration._ import scala.util.control.NonFatal @IntegrationTest +@UnstableTest class AppDeployIntegrationTest extends AkkaIntegrationFunTest with EmbeddedMarathonTest { diff --git a/src/test/scala/mesosphere/marathon/integration/AppDeployWithLeaderAbdicationIntegrationTest.scala b/src/test/scala/mesosphere/marathon/integration/AppDeployWithLeaderAbdicationIntegrationTest.scala index 3aefb46031b..d57f130a4e5 100644 --- a/src/test/scala/mesosphere/marathon/integration/AppDeployWithLeaderAbdicationIntegrationTest.scala +++ b/src/test/scala/mesosphere/marathon/integration/AppDeployWithLeaderAbdicationIntegrationTest.scala @@ -18,6 +18,7 @@ import scala.concurrent.duration._ import scala.util.Try @IntegrationTest +@UnstableTest class AppDeployWithLeaderAbdicationIntegrationTest extends AkkaIntegrationFunTest with MarathonClusterTest { private[this] val log = LoggerFactory.getLogger(getClass) diff --git a/src/test/scala/mesosphere/marathon/integration/GroupDeployIntegrationTest.scala b/src/test/scala/mesosphere/marathon/integration/GroupDeployIntegrationTest.scala index 315c4f493bb..2ebe6bd93f4 100644 --- a/src/test/scala/mesosphere/marathon/integration/GroupDeployIntegrationTest.scala +++ b/src/test/scala/mesosphere/marathon/integration/GroupDeployIntegrationTest.scala @@ -11,6 +11,7 @@ import spray.http.DateTime import scala.concurrent.duration._ @IntegrationTest +@UnstableTest class GroupDeployIntegrationTest extends AkkaIntegrationFunTest with EmbeddedMarathonTest { //clean up state before running the test case diff --git a/src/test/scala/mesosphere/marathon/integration/ReadinessCheckIntegrationTest.scala b/src/test/scala/mesosphere/marathon/integration/ReadinessCheckIntegrationTest.scala index d046da28f94..a464031a55c 100644 --- a/src/test/scala/mesosphere/marathon/integration/ReadinessCheckIntegrationTest.scala +++ b/src/test/scala/mesosphere/marathon/integration/ReadinessCheckIntegrationTest.scala @@ -19,6 +19,7 @@ import scala.concurrent.duration._ import scala.util.Try @IntegrationTest +@UnstableTest class ReadinessCheckIntegrationTest extends AkkaIntegrationFunTest with EmbeddedMarathonTest with Eventually { //clean up state before running the test case diff --git a/src/test/scala/mesosphere/marathon/integration/TaskUnreachableIntegrationTest.scala b/src/test/scala/mesosphere/marathon/integration/TaskUnreachableIntegrationTest.scala index 0ab1a1c16a7..70f0ee0b219 100644 --- a/src/test/scala/mesosphere/marathon/integration/TaskUnreachableIntegrationTest.scala +++ b/src/test/scala/mesosphere/marathon/integration/TaskUnreachableIntegrationTest.scala @@ -11,6 +11,7 @@ import mesosphere.marathon.state.UnreachableStrategy import scala.concurrent.duration._ @IntegrationTest +@UnstableTest class TaskUnreachableIntegrationTest extends AkkaIntegrationFunTest with EmbeddedMarathonMesosClusterTest { override lazy val mesosNumMasters = 1