File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -188,10 +188,13 @@ _EOF_
188
188
rlPhaseEnd
189
189
190
190
rlPhaseStartTest " Sanity execute Locust files"
191
- # this is designed to check that these files don't crash,
192
- rlRun -t -c " locust --headless --users 1 --spawn-rate 1 --run-time 5s -H https://localhost/ --locustfile tests/performance/base.py"
193
- rlRun -t -c " locust --headless --users 1 --spawn-rate 1 --run-time 5s -H https://localhost/ --locustfile tests/performance/api_write_test.py"
194
- rlRun -t -c " locust --headless --users 1 --spawn-rate 0.01 --run-time 5s -H https://localhost/ --locustfile tests/performance/web_simulation_test.py"
191
+ ARCH=$( uname -m)
192
+ if [ " $ARCH " == " x86_64" ]; then
193
+ # this is designed to check that these files don't crash,
194
+ rlRun -t -c " locust --headless --users 1 --spawn-rate 1 --run-time 5s -H https://localhost/ --locustfile tests/performance/base.py"
195
+ rlRun -t -c " locust --headless --users 1 --spawn-rate 1 --run-time 5s -H https://localhost/ --locustfile tests/performance/api_write_test.py"
196
+ rlRun -t -c " locust --headless --users 1 --spawn-rate 0.01 --run-time 5s -H https://localhost/ --locustfile tests/performance/web_simulation_test.py"
197
+ fi
195
198
rlPhaseEnd
196
199
197
200
rlPhaseStartCleanup
You can’t perform that action at this time.
0 commit comments