fix(benchpress): fix flake

memory was not allocated to be high enough, resulting in partial results to be
clipped, and therefore failing the assertions

Closes #6161
This commit is contained in:
Hank Duan
2015-12-28 17:47:49 -08:00
parent d116861c8e
commit 9d28147acb
3 changed files with 3 additions and 5 deletions

View File

@ -24,6 +24,7 @@ describe('firefox extension', function() {
browser.executeScript('window.startProfiler()')
.then(function() { console.log('started measuring perf'); });
browser.executeAsyncScript('setTimeout(arguments[0], 1000);');
browser.executeScript('window.forceGC()');
browser.executeAsyncScript('var cb = arguments[0]; window.getProfile(cb);')