Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,16 @@ import reactivemongo.api.Cursor
import reactivemongo.api.bson.BSONDocument
import reactivemongo.api.bson.collection.BSONCollection

import java.net.ServerSocket

class ReactiveMongoUnitTest
extends AsyncWordSpec
with Matchers
with BeforeAndAfterAll
with BeforeAndAfterEach {

val PORT = 27079
private val serverSocket = new ServerSocket(0)
val PORT: Int = serverSocket.getLocalPort
val IP = "localhost"

val mongodInstance: ImmutableMongod = Mongod
Expand Down