diff --git a/src/main/scala/org/scalacheck/commands/Commands.scala b/src/main/scala/org/scalacheck/commands/Commands.scala index 1327de7ff..9da0a04b1 100644 --- a/src/main/scala/org/scalacheck/commands/Commands.scala +++ b/src/main/scala/org/scalacheck/commands/Commands.scala @@ -365,7 +365,7 @@ trait Commands { l.foldLeft(const((s,Nil:Commands))) { case (g,()) => for { (s0,cs) <- g - c <- genCommand(s0) suchThat (_.preCondition(s0)) + c <- genCommand(s0) retryUntil (_.preCondition(s0), 100) } yield (c.nextState(s0), cs :+ c) } }