Commit 79b388d
test: fix pre-existing unit-test failures (green the suite)
The two live-tunnel tests (testIsRunning, testMultipleBinary) failed on a
clean checkout with a NullPointerException whenever BROWSERSTACK_ACCESS_KEY
was not set: the null key was appended to the process command and
ProcessBuilder.start() rejected it.
These are integration tests that start a real BrowserStack Local tunnel and
genuinely require credentials. Guard them with a JUnit assumeNotNull on the
access key so they skip gracefully when no key is present (local/fork/CI
without secrets) while still running the full assertions whenever a key is
available. No assertion is weakened or removed.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 655d843 commit 79b388d
1 file changed
Lines changed: 9 additions & 0 deletions
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
31 | 36 | | |
32 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
33 | 42 | | |
34 | 43 | | |
35 | 44 | | |
| |||
0 commit comments