This repository was archived by the owner on Sep 21, 2022. It is now read-only.
Commit 2b399b6
committed
fix: prevent endless loop when suitesPerSession is set to infinity
Once all suites have run, runner should perform retries in a new browser session. If parameter suitesPerSession is set to infinity (which is a default value), getBrowser method fails to quit previous session because force quit is missing in the freeBrowser method call, and getBrowser is called again recursively.1 parent d2232fb commit 2b399b6
File tree
2 files changed
+2
-2
lines changed- lib/runner/browser-runner
- test/unit/runner/browser-runner
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
0 commit comments