projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afc5059
)
assume batch testing if running on http://localhost:4040
author
Wolfram Schneider
<wosch@indexdata.dk>
Thu, 7 May 2015 15:08:07 +0000
(15:08 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Thu, 7 May 2015 15:08:07 +0000
(15:08 +0000)
test/spec/mkws-pazpar2.js
patch
|
blob
|
history
diff --git
a/test/spec/mkws-pazpar2.js
b/test/spec/mkws-pazpar2.js
index
a410ca2
..
1717551
100644
(file)
--- a/
test/spec/mkws-pazpar2.js
+++ b/
test/spec/mkws-pazpar2.js
@@
-61,6
+61,12
@@
function init_jasmine_config() {
// jenkins batch tests
if (jasmine_config.batch_tuning) {
var sec = mkws.getParameterByName("second", document.location);
+
+ // run on localhost
+ if (!sec && document.location.href.match(/^http:\/\/localhost:4040/)) {
+ sec = 2000;
+ }
+
if (sec && parseInt(sec) >= 100) {
jasmine_config.second = parseInt(sec);
debug("longer timeouts for batch testing: " + jasmine_config.second);