Skip to content

Commit 1e6374b

Browse files
LoopedBard3Copilot
andauthored
Add NoResetOnClose=true to PostgreSQL connection strings missing it (#2154)
Commit 36ab8b9 removed Multiplexing=true and tightened Program.cs to require NoResetOnClose=true, but missed adding it to connection strings that previously relied on Multiplexing=true to pass the check. Fixes Fortunes, Fortunes EF, and Fortune Dapper failures in the benchmarks-ci-01 Trends Database pipeline. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent d392da1 commit 1e6374b

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

scenarios/database.benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
arguments: "--nonInteractive true --scenarios {{scenario}} --urls {{serverScheme}}://{{serverAddress}}:{{serverPort}} --server {{server}} --kestrelTransport {{transport}} --protocol {{protocol}}"
2424
environmentVariables:
2525
database: PostgresQL
26-
connectionString: Server={{databaseServer}};Database=hello_world;User Id=benchmarkdbuser;Password=benchmarkdbpass;Maximum Pool Size=18;Enlist=false;Max Auto Prepare=4
26+
connectionString: Server={{databaseServer}};Database=hello_world;User Id=benchmarkdbuser;Password=benchmarkdbpass;Maximum Pool Size=18;NoResetOnClose=true;Enlist=false;Max Auto Prepare=4
2727

2828
postgresql:
2929
source:

scenarios/mono.benchmarks.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ scenarios:
166166
- "/p:IsDatabase=true"
167167
environmentVariables:
168168
database: PostgreSQL
169-
connectionstring: Server={{databaseServer}};Database=hello_world;User Id=benchmarkdbuser;Password=benchmarkdbpass;Maximum Pool Size=256;Enlist=false;Max Auto Prepare=4
169+
connectionstring: Server={{databaseServer}};Database=hello_world;User Id=benchmarkdbuser;Password=benchmarkdbpass;Maximum Pool Size=256;NoResetOnClose=true;Enlist=false;Max Auto Prepare=4
170170
load:
171171
job: wrk
172172
variables:
@@ -184,7 +184,7 @@ scenarios:
184184
- "/p:IsDatabase=true"
185185
environmentVariables:
186186
database: PostgreSQL
187-
connectionstring: Server={{databaseServer}};Database=hello_world;User Id=benchmarkdbuser;Password=benchmarkdbpass;Maximum Pool Size=256;Enlist=false;Max Auto Prepare=4
187+
connectionstring: Server={{databaseServer}};Database=hello_world;User Id=benchmarkdbuser;Password=benchmarkdbpass;Maximum Pool Size=256;NoResetOnClose=true;Enlist=false;Max Auto Prepare=4
188188
load:
189189
job: wrk
190190
variables:
@@ -202,7 +202,7 @@ scenarios:
202202
- "/p:IsDatabase=true"
203203
environmentVariables:
204204
database: PostgreSQL
205-
connectionstring: Server={{databaseServer}};Database=hello_world;User Id=benchmarkdbuser;Password=benchmarkdbpass;Maximum Pool Size=256;Enlist=false;Max Auto Prepare=4
205+
connectionstring: Server={{databaseServer}};Database=hello_world;User Id=benchmarkdbuser;Password=benchmarkdbpass;Maximum Pool Size=256;NoResetOnClose=true;Enlist=false;Max Auto Prepare=4
206206
load:
207207
job: wrk
208208
variables:
@@ -220,7 +220,7 @@ scenarios:
220220
- "/p:IsDatabase=true"
221221
environmentVariables:
222222
database: PostgreSQL
223-
connectionstring: Server={{databaseServer}};Database=hello_world;User Id=benchmarkdbuser;Password=benchmarkdbpass;Maximum Pool Size=256;Enlist=false;Max Auto Prepare=4
223+
connectionstring: Server={{databaseServer}};Database=hello_world;User Id=benchmarkdbuser;Password=benchmarkdbpass;Maximum Pool Size=256;NoResetOnClose=true;Enlist=false;Max Auto Prepare=4
224224
load:
225225
job: wrk
226226
variables:
@@ -418,7 +418,7 @@ scenarios:
418418
- "/p:IsDatabase=true"
419419
environmentVariables:
420420
database: PostgreSQL
421-
connectionstring: Server={{databaseServer}};Database=hello_world;User Id=benchmarkdbuser;Password=benchmarkdbpass;Maximum Pool Size=256;Enlist=false;Max Auto Prepare=4
421+
connectionstring: Server={{databaseServer}};Database=hello_world;User Id=benchmarkdbuser;Password=benchmarkdbpass;Maximum Pool Size=256;NoResetOnClose=true;Enlist=false;Max Auto Prepare=4
422422
load:
423423
job: wrk
424424
variables:
@@ -435,7 +435,7 @@ scenarios:
435435
- "/p:IsDatabase=true"
436436
environmentVariables:
437437
database: PostgreSQL
438-
connectionstring: Server={{databaseServer}};Database=hello_world;User Id=benchmarkdbuser;Password=benchmarkdbpass;Maximum Pool Size=256;Enlist=false;Max Auto Prepare=4
438+
connectionstring: Server={{databaseServer}};Database=hello_world;User Id=benchmarkdbuser;Password=benchmarkdbpass;Maximum Pool Size=256;NoResetOnClose=true;Enlist=false;Max Auto Prepare=4
439439
load:
440440
job: wrk
441441
variables:
@@ -452,7 +452,7 @@ scenarios:
452452
- "/p:IsDatabase=true"
453453
environmentVariables:
454454
database: PostgreSQL
455-
connectionstring: Server={{databaseServer}};Database=hello_world;User Id=benchmarkdbuser;Password=benchmarkdbpass;Maximum Pool Size=256;Enlist=false;Max Auto Prepare=4
455+
connectionstring: Server={{databaseServer}};Database=hello_world;User Id=benchmarkdbuser;Password=benchmarkdbpass;Maximum Pool Size=256;NoResetOnClose=true;Enlist=false;Max Auto Prepare=4
456456
load:
457457
job: wrk
458458
variables:
@@ -469,7 +469,7 @@ scenarios:
469469
- "/p:IsDatabase=true"
470470
environmentVariables:
471471
database: PostgreSQL
472-
connectionstring: Server={{databaseServer}};Database=hello_world;User Id=benchmarkdbuser;Password=benchmarkdbpass;Maximum Pool Size=256;Enlist=false;Max Auto Prepare=4
472+
connectionstring: Server={{databaseServer}};Database=hello_world;User Id=benchmarkdbuser;Password=benchmarkdbpass;Maximum Pool Size=256;NoResetOnClose=true;Enlist=false;Max Auto Prepare=4
473473
load:
474474
job: wrk
475475
variables:

0 commit comments

Comments
 (0)