This repository was archived by the owner on Jun 2, 2021. It is now read-only.
Commit f124150
committed
Make BackgroundJobEnvironment specs work on linux
Also improve the test for the case without a readiness port. The
previous test only tested that a single specific port was not opened,
when any port may have been opened. The new test ensures that the same
number of ports are open before and after running the method. This may
cause problems when running tests in parallel, but we can address that
problem when/if it occurs
Authored-by: Matt Royal <mroyal@pivotal.io>1 parent b912e5b commit f124150
1 file changed
Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
42 | 46 | | |
43 | | - | |
44 | | - | |
45 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
46 | 50 | | |
47 | 51 | | |
48 | 52 | | |
49 | 53 | | |
50 | | - | |
51 | | - | |
52 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
53 | 59 | | |
54 | 60 | | |
55 | 61 | | |
| |||
0 commit comments