lightbend / mesos-spark-integration-tests

Mesos Integration Tests on Docker/Ec2
16 stars 9 forks source link

Roles support in tests #5

Closed skonto closed 9 years ago

skonto commented 9 years ago

-Added a few role based tests. -Added a top project Readme file -Running with two slaves some checks are not working for example the number of pending tasks in coarse grain mode is not what we expect (i will check if a delay helps but still we have a time out): TestStarting(Ordinal(0, 2),ClientModeSpec,org.typesafe.spark.mesos.tests.ClientModeSpec,Some(org.typesafe.spark.mesos.tests.ClientModeSpec),simple collect in fine grain mode,simple collect in fine grain mode,Some(MotionToSuppress),Some(LineInFile(25,MesosIntTestHelper.scala)),None,None,main-ScalaTest-running-ClientModeSpec,1447331754928)

TestFailed(Ordinal(0, 3),The test did not complete within the specified 300 seconds time limit.,ClientModeSpec,org.typesafe.spark.mesos.tests.ClientModeSpec,Some(org.typesafe.spark.mesos.tests.ClientModeSpec),simple collect in fine grain mode,simple collect in fine grain mode,Vector(),Some(org.scalatest.exceptions.TestFailedDueToTimeoutException: The test did not complete within the specified 300 seconds time limit.),Some(300165),Some(IndentedText(- simple collect in fine grain mode,simple collect in fine grain mode,0)),Some(SeeStackDepthException),None,None,main-ScalaTest-running-ClientModeSpec,1447332055097)

TestStarting(Ordinal(0, 4),ClientModeSpec,org.typesafe.spark.mesos.tests.ClientModeSpec,Some(org.typesafe.spark.mesos.tests.ClientModeSpec),simple count in coarse grain mode,simple count in coarse grain mode,Some(MotionToSuppress),Some(LineInFile(25,MesosIntTestHelper.scala)),None,None,main-ScalaTest-running-ClientModeSpec,1447332055098)

TestFailed(Ordinal(0, 5),1 did not equal 2 no task should be running,ClientModeSpec,org.typesafe.spark.mesos.tests.ClientModeSpec,Some(org.typesafe.spark.mesos.tests.ClientModeSpec),simple count in coarse grain mode,simple count in coarse grain mode,Vector(),Some(org.scalatest.exceptions.TestFailedException: 1 did not equal 2 no task should be running),Some(36309),Some(IndentedText(- simple count in coarse grain mode,simple count in coarse grain mode,0)),Some(SeeStackDepthException),None,None,main-ScalaTest-running-ClientModeSpec,1447332091407) -Need to add some testing for attributes

nraychaudhuri commented 9 years ago

@skonto do you still see test failures? Are you planning to update this PR?

skonto commented 9 years ago

i think we should merge it and fix on top of it... it just adds the basic functionality... the failures were elsewhere when i run it not in the PR

skyluc commented 9 years ago

LGTM

nraychaudhuri commented 9 years ago

@skyluc is this good to merge?