Skip to content

Commit

Permalink
test: change max expected time for executeDSPERF02
Browse files Browse the repository at this point in the history
  • Loading branch information
lanarimarco committed Dec 19, 2024
1 parent a1334cc commit 9df1d83
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ open class DSPerformanceTest : AbstractTest() {
val duration = Duration.between(start.toInstant(), end.toInstant()).toMillis().milliseconds
println(duration)
// Currently the assertion is really empirical
assertTrue(duration.toLong(DurationUnit.MILLISECONDS) < 1000, "Duration must be less than 1 second")
assertTrue(duration.toLong(DurationUnit.SECONDS) < 2, "Duration must be less than 2 second")
}
}

0 comments on commit 9df1d83

Please sign in to comment.