Skip to content

Commit 2637bdc

Browse files
authored
Fix Actix database scenarios
1 parent e4ae542 commit 2637bdc

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

scenarios/te.benchmarks.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
readyStateText: NodeJS worker listening
2121
arguments: --add-host="tfb-database:{{databaseServer}}"
2222

23-
actix:
23+
actix_default: # json and plaintext scenarios
2424
source:
2525
repository: https://github.com/TechEmpower/FrameworkBenchmarks.git
2626
branchOrCommit: master
@@ -30,6 +30,16 @@ jobs:
3030
readyStateText: Started http server
3131
arguments: --add-host="tfb-database:{{databaseServer}}"
3232

33+
actix_http: # db scenarios are in another image
34+
source:
35+
repository: https://github.com/TechEmpower/FrameworkBenchmarks.git
36+
branchOrCommit: master
37+
dockerFile: frameworks/Rust/actix/actix-http.dockerfile
38+
dockerImageName: actix_http
39+
dockerContextDirectory: frameworks/Rust/actix/
40+
readyStateText: Starting http server
41+
arguments: --add-host="tfb-database:{{databaseServer}}"
42+
3343
fasthttp:
3444
source:
3545
repository: https://github.com/TechEmpower/FrameworkBenchmarks.git
@@ -132,7 +142,7 @@ scenarios:
132142
# Actix (Rust)
133143
plaintext_actix:
134144
application:
135-
job: actix
145+
job: actix_default
136146
load:
137147
job: wrk
138148
variables:
@@ -143,7 +153,7 @@ scenarios:
143153

144154
json_actix:
145155
application:
146-
job: actix
156+
job: actix_default
147157
load:
148158
job: wrk
149159
variables:
@@ -155,10 +165,7 @@ scenarios:
155165
db:
156166
job: postgresql
157167
application:
158-
job: actix
159-
source:
160-
dockerFile: frameworks/Rust/actix/actix-http.dockerfile
161-
dockerImageName: actix_http
168+
job: actix_http
162169
load:
163170
job: wrk
164171
variables:

0 commit comments

Comments
 (0)