Skip to content

Commit 43c1e2b

Browse files
committed
No proxy for TCP forwarding test.
1 parent f8f0082 commit 43c1e2b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/CLITests/Subcommands/Run/TestCLIRunOptions.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,8 @@ class TestCLIRunCommand: CLITest {
449449
let url = "http://\(proxyIp):\(proxyPort)"
450450
var request = HTTPClientRequest(url: url)
451451
request.method = .GET
452-
let client = getClient()
452+
let config = HTTPClient.Configuration(proxy: nil)
453+
let client = HTTPClient(eventLoopGroupProvider: .singleton, configuration: config)
453454
defer { _ = client.shutdown() }
454455
var retriesRemaining = retries
455456
var success = false

0 commit comments

Comments
 (0)