8000 Fix PostgreSQL pool spec · antonzherdev/postgresql-async@37e5fc5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 37e5fc5

Browse files
committed
Fix PostgreSQL pool spec
1 parent 1328b72 commit 37e5fc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

postgresql-async/src/test/scala/com/github/mauricio/async/db/postgresql/pool/ConnectionPoolSpec.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ package com.github.mauricio.async.db.postgresql.pool
1919
import java.util.UUID
2020

2121
import com.github.mauricio.async.db.pool.{ConnectionPool, PoolConfiguration}
22+
import com.github.mauricio.async.db.postgresql.exceptions.GenericDatabaseException
2223
import com.github.mauricio.async.db.postgresql.{PostgreSQLConnection, DatabaseTestHelper}
2324
import org.specs2.mutable.Specification
2425

@@ -76,9 +77,8 @@ class ConnectionPoolSpec extends Specification with DatabaseTestHelper {
7677
}
7778
}
7879

79-
val resultSets = await(operations)
80+
await(operations) must throwA[GenericDatabaseException]
8081

81-
resultSets.size mustEqual(2)
8282
}
8383

8484
}

0 commit comments

Comments
 (0)
0