projects
/
arvados-dev.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Review reminder script: fix another edge case on the date the sprint
[arvados-dev.git]
/
jenkins
/
run-performance-suite.sh
diff --git
a/jenkins/run-performance-suite.sh
b/jenkins/run-performance-suite.sh
index 6ffeff80ba968c6377afb938d80657fdfb028313..24061b6964ec9c70b5e9c10e9c529eccd0e7fde2 100755
(executable)
--- a/
jenkins/run-performance-suite.sh
+++ b/
jenkins/run-performance-suite.sh
@@
-1,5
+1,9
@@
#!/bin/bash
#!/bin/bash
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
EXITCODE=0
INSTANCE=$1
EXITCODE=0
INSTANCE=$1
@@
-57,6
+61,14
@@
if [[ "$REVISION" != '' ]]; then
git checkout $REVISION
fi
git checkout $REVISION
fi
+ECODE=$?
+
+if [[ "$ECODE" != "0" ]]; then
+ title "!!!!!! PERFORMANCE TESTS FAILED (`timer`) !!!!!!"
+ EXITCODE=$(($EXITCODE + $ECODE))
+ exit $EXITCODE
+fi
+
cp -f /home/jenkins/diagnostics/arvados-workbench/$INSTANCE-application.yml $WORKSPACE/apps/workbench/config/application.yml
cd $WORKSPACE/apps/workbench
cp -f /home/jenkins/diagnostics/arvados-workbench/$INSTANCE-application.yml $WORKSPACE/apps/workbench/config/application.yml
cd $WORKSPACE/apps/workbench
@@
-67,12
+79,14
@@
if [[ ! -d tmp ]]; then
mkdir tmp
fi
mkdir tmp
fi
-RAILS_ENV=performance bundle exec rake TEST=test/performance/browsing_test.rb
+mkdir -p tmp/cache
+
+RAILS_ENV=performance bundle exec rake test:benchmark
ECODE=$?
if [[ "$REVISION" != '' ]]; then
ECODE=$?
if [[ "$REVISION" != '' ]]; then
- git checkout ma
ster
+ git checkout ma
in
fi
if [[ "$ECODE" != "0" ]]; then
fi
if [[ "$ECODE" != "0" ]]; then