File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -188,10 +188,13 @@ _EOF_
188188 rlPhaseEnd
189189
190190 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
195198 rlPhaseEnd
196199
197200 rlPhaseStartCleanup
You can’t perform that action at this time.
0 commit comments