Skip to content

Commit

Permalink
Removing non existent converter in temurin@11
Browse files Browse the repository at this point in the history
  • Loading branch information
sagoez committed Jun 2, 2023
1 parent 8de481e commit 533e46a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import weaver.scalacheck.CheckConfig
import weaver.scalacheck.Checkers

import scala.concurrent.duration._
import scala.jdk.DurationConverters._
import java.time.{Duration => JDuration}

class InsertBuilderSpec(global: GlobalRead) extends IOSuite with ResourceSuite with Checkers {

Expand All @@ -23,7 +23,7 @@ class InsertBuilderSpec(global: GlobalRead) extends IOSuite with ResourceSuite w
test("Using TTL and exceeding it will cause the result to not be found") { executor =>
forall(InsertBuilderSpecPerson.gen) { person =>
for {
_ <- executor.executeMutation(InsertBuilderSpecPerson.insert(person).usingTTL(1.second.toJava).build)
_ <- executor.executeMutation(InsertBuilderSpecPerson.insert(person).usingTTL(JDuration.ofSeconds(1)).build)
_ <- IO.sleep(1001.milliseconds)
find <- executor
.execute(InsertBuilderSpecPerson.find(person.id))
Expand Down

0 comments on commit 533e46a

Please sign in to comment.