Skip to content

Commit aec13c8

Browse files
committed
Commented out flaky test and ran scalafmt
1 parent ecc7ce0 commit aec13c8

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Diff for: project/plugins.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ libraryDependencies += "org.scala-js" %% "scalajs-env-jsdom-nodejs" % "1.0.0"
1616

1717
resolvers += Resolver.jcenterRepo
1818

19-
addSbtPlugin("net.aichler" % "sbt-jupiter-interface" % "0.8.3")
19+
addSbtPlugin("net.aichler" % "sbt-jupiter-interface" % "0.8.3")

Diff for: scala-core-collections-2/src/test/scala-2/com/baeldung/scala/randomfixedsizesample/RandomFixedSizeSampleSpec.scala

+3-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ class RandomFixedSizeSampleSpec extends AnyWordSpec with Matchers {
2828
isSorted(list_1) shouldBe false
2929
isSorted(list_2) shouldBe false
3030
}
31-
"ensure getRandomSampleShuffle is the most performant, then goes getRandomSampleZip and then getRandomSampleRec" in {
31+
// We can't really depend on this test to check performance. So commenting this out
32+
/*"ensure getRandomSampleShuffle is the most performant, then goes getRandomSampleZip and then getRandomSampleRec" in {
3233
val list = List.range(0, 10_000)
3334
val sampleSize = 100
3435
@@ -49,7 +50,7 @@ class RandomFixedSizeSampleSpec extends AnyWordSpec with Matchers {
4950
5051
duration_0 should be > duration_1
5152
duration_1 should be > duration_2
52-
}
53+
}*/
5354

5455
}
5556

Diff for: specialized-benchmark/project/plugins.sbt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

0 commit comments

Comments
 (0)