We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 014ad39 commit 2f18207Copy full SHA for 2f18207
scala-libraries-persistence/src/test/scala/com/baeldung/scala/reactivemongo/ReactiveMongoUnitTest.scala
@@ -16,16 +16,13 @@ import reactivemongo.api.Cursor
16
import reactivemongo.api.bson.BSONDocument
17
import reactivemongo.api.bson.collection.BSONCollection
18
19
-import java.net.ServerSocket
20
-
21
class ReactiveMongoUnitTest
22
extends AsyncWordSpec
23
with Matchers
24
with BeforeAndAfterAll
25
with BeforeAndAfterEach {
26
27
- private val serverSocket = new ServerSocket(0)
28
- val PORT: Int = serverSocket.getLocalPort
+ val PORT = 27079
29
val IP = "localhost"
30
31
val mongodInstance: ImmutableMongod = Mongod
0 commit comments