fix(benchmarks): wait for end of benchmarks

This commit is contained in:
Tobias Bosch
2015-04-21 10:11:59 -07:00
parent 14a7b9f794
commit 97e6fb6835
2 changed files with 5 additions and 5 deletions

View File

@ -33,7 +33,7 @@ function runBenchmark(config) {
}
var url = encodeURI(config.url + '?' + urlParams.join('&'));
return browser.get(url).then(function() {
benchpressRunner.sample({
return benchpressRunner.sample({
id: config.id,
execute: config.work,
prepare: config.prepare,