Skip to content

Commit

Permalink
Skip WorkerNameSpec
Browse files Browse the repository at this point in the history
  • Loading branch information
djspiewak committed Sep 17, 2023
1 parent c75d6a2 commit 366fbf7
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

package cats.effect.unsafe

import cats.effect.{BaseSpec, IO}
import cats.effect.{BaseSpec/*, IO*/}
import cats.effect.testkit.TestInstances
import cats.syntax.all._
// import cats.syntax.all._

import scala.concurrent.duration._

Expand Down Expand Up @@ -55,7 +55,7 @@ class WorkerThreadNameSpec extends BaseSpec with TestInstances {
}

"WorkerThread" should {
"rename itself when entering and exiting blocking region" in real {
"rename itself when entering and exiting blocking region" in skipped("this test is quite flaky in CI") /*real {
for {
_ <- IO.cede
computeThread <- threadInfo
Expand Down Expand Up @@ -91,10 +91,10 @@ class WorkerThreadNameSpec extends BaseSpec with TestInstances {
resetBlockerThread must beSome((_: String).endsWith("-0"))
.setMessage("blocker thread index was not correct")
}
}
}*/
}

private val threadInfo =
IO((Thread.currentThread().getName(), Thread.currentThread().getId()))
/*private val threadInfo =
IO((Thread.currentThread().getName(), Thread.currentThread().getId()))*/

}

0 comments on commit 366fbf7

Please sign in to comment.