Skip to content

Commit

Permalink
Remove httpClientProvider from benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Apr 10, 2024
1 parent 93c2d71 commit f2e2b98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions Benchmark/Sources/soto-benchmark/AWSClientSuite.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ let awsClientSuite = BenchmarkSuite(name: "AWSClient", settings: Iterations(1000
// take the amount of time it took to construct the request
let client = AWSClient(
credentialProvider: .static(accessKeyId: "foo", secretAccessKey: "bar"),
middlewares: [RequestThrowMiddleware()],
httpClientProvider: .createNew
middlewares: [RequestThrowMiddleware()]
)
let jsonService = AWSServiceConfig(
region: .useast1, partition: .aws, service: "test-service", serviceProtocol: .json(version: "1.1"), apiVersion: "10-10-2010"
Expand Down
4 changes: 1 addition & 3 deletions scripts/generate-region-test.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ struct RegionDesc {

var regionDescs: [RegionDesc] = []

let client = AWSClient(
httpClientProvider: .createNew
)
let client = AWSClient()
let ssm = SSM(client: client, region: Region.euwest1)
let request = SSM.GetParametersByPathRequest(
path: REGION_PATH
Expand Down

0 comments on commit f2e2b98

Please sign in to comment.