Skip to content

Commit c88eff0

Browse files
committed
set mock server on port 0
1 parent c6c1f91 commit c88eff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/AWSLambdaRuntimeTests/MockLambdaServer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ final class MockLambdaServer<Behavior: LambdaServerBehavior> {
6060
init(
6161
behavior: Behavior,
6262
host: String = "127.0.0.1",
63-
port: Int = 7000,
63+
port: Int = 0,
6464
keepAlive: Bool = true,
6565
eventLoopGroup: MultiThreadedEventLoopGroup
6666
) {

0 commit comments

Comments
 (0)