Skip to content

Commit

Permalink
Merge pull request #553 from eed3si9n/wip/flaky
Browse files Browse the repository at this point in the history
Make CachedHashingSpec more lenient
  • Loading branch information
eed3si9n authored Jun 18, 2018
2 parents 182356e + 2590468 commit f91d5b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zinc/src/test/scala/sbt/inc/cached/CachedHashingSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ class CachedHashingSpec extends BaseCompilerSpec {

val hashingTime = timeMs(genConfig)
val cachedHashingTime = timeMs(genConfig)
assert(cachedHashingTime < (hashingTime * 0.20),
s"Cache jar didn't work: $cachedHashingTime is >= than 20% of $hashingTime.")
assert(cachedHashingTime < (hashingTime * 0.50),
s"Cache jar didn't work: $cachedHashingTime is >= than 50% of $hashingTime.")
}
}

Expand Down

0 comments on commit f91d5b5

Please sign in to comment.