Skip to content

Commit

Permalink
prepare release 0.14.2
Browse files Browse the repository at this point in the history
  • Loading branch information
simerplaha committed Aug 1, 2020
1 parent d4d44a7 commit 362391f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ def publishScalaOptions(scalaVersion: String): Seq[String] = {
CrossVersion.partialVersion(scalaVersion) match {
case Some((2, major)) if major >= 13 =>
Seq(
// "-opt:l:inline",
// "-opt-warnings",
// "-opt-inline-from:swaydb.**",
// "-Yopt-log-inline",
// "_"
"-opt:l:inline",
"-opt-warnings",
"-opt-inline-from:swaydb.**",
"-Yopt-log-inline",
"_"
)

case Some((2, 12)) =>
Expand Down
8 changes: 8 additions & 0 deletions swaydb/src/test/scala/swaydb/api/queue/QueueSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ sealed trait QueueSpec extends TestBase {

queue.popOrNull() shouldBe 1
queue.popOrNull() shouldBe 2

queue.close()
}

"push and pop in FIFO manner" in {
Expand All @@ -70,6 +72,8 @@ sealed trait QueueSpec extends TestBase {

//all popped out
queue.pop() shouldBe empty

queue.close()
}

"push, expire, pop & stream" in {
Expand Down Expand Up @@ -103,6 +107,8 @@ sealed trait QueueSpec extends TestBase {
queue.popOrNull() shouldBe 5
queue.popOrNull() shouldBe 6
assertStreamIsEmpty()

queue.close()
}

"concurrently process" in {
Expand Down Expand Up @@ -173,6 +179,8 @@ sealed trait QueueSpec extends TestBase {

processedQueue.clear()
}

queue.close()
}

"continue on restart" in {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ class MultiMapTransactionSpec extends TestBaseEmbedded {
eventually(Timeout(2.seconds)) {
productOrderMap.get(PrimaryKey.Order(2)) shouldBe empty
}

root.close()
}
}
}

0 comments on commit 362391f

Please sign in to comment.