Skip to content

Commit

Permalink
increase time for retract-related tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gciatto committed Jul 1, 2020
1 parent fb1542d commit 0bb2fc4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ interface SolverTest {

/** A long test max duration */
val longDuration: TimeDuration
get() = 2 * mediumDuration
get() = 4 * mediumDuration

/** Test presence of correct built-ins */
fun testBuiltinApi()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ internal class SolverTestImpl(private val solverFactory: SolverFactory) : Solver

val query = "retract"("f"("X"))

val solutions = solver.solve(query, mediumDuration).toList()
val solutions = solver.solve(query, longDuration).toList()

assertSolutionEquals(
ktListOf(
Expand Down Expand Up @@ -1115,7 +1115,7 @@ internal class SolverTestImpl(private val solverFactory: SolverFactory) : Solver

var query = "retractall"("f"("X"))

var solutions = solver.solve(query, mediumDuration).toList()
var solutions = solver.solve(query, longDuration).toList()

assertSolutionEquals(
ktListOf(
Expand Down

0 comments on commit 0bb2fc4

Please sign in to comment.