Skip to content

Commit

Permalink
Fix flaky naptime test by adding IntegrationPatience (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
cliu587 committed Mar 27, 2018
1 parent cf0f721 commit 0104cac
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -19,6 +19,7 @@ import org.coursera.naptime.resources.CourierCollectionResource
import org.coursera.naptime.router2.NaptimeRoutes
import org.coursera.naptime.router2.Router
import org.junit.Test
import org.scalatest.concurrent.IntegrationPatience
import org.scalatest.concurrent.ScalaFutures
import org.scalatest.junit.AssertionsForJUnit
import play.api.libs.json.JsString
Expand Down Expand Up @@ -106,7 +107,8 @@ object NestedMacroCourierTests {
val instructorRouter = Router.build[InstructorsResource]
}

class NestedMacroCourierTests extends AssertionsForJUnit with ScalaFutures with ResourceTestImplicits {
class NestedMacroCourierTests extends AssertionsForJUnit with ScalaFutures with ResourceTestImplicits with IntegrationPatience {


val implicitsModule = new Module {
override def configure(binder: Binder): Unit = {
Expand Down

0 comments on commit 0104cac

Please sign in to comment.