Commit 3e1ffce
authored
test: make the event-loop regression portable across platforms (#62)
The event-loop-unblocking test forced HELM_CHANNEL_COMPUTER_BACKEND=oci and
asserted runtimeReadiness reports ready:true. The OCI backend is only
supported on linux and win32, so on the macOS release host the same call
correctly returns ready:false and the test failed - a test-portability bug,
not a product defect.
The two ready-state assertions are now gated on whether OCI is supported on
the running platform (linux/win32 + arm64/x64), asserting the correct value
either way. The point of the test - that the slow readiness refresh runs off
the event loop - is unchanged: the refresh still executes on every platform
and the tick-count assertion that actually caught the regression still runs
everywhere.
Verified: reintroducing execFileSync in the memory bridge still fails the
suite, so the guard is not weakened.
Co-authored-by: Joseph Yaksich <gitcommit90@users.noreply.github.com>1 parent af77f39 commit 3e1ffce
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
80 | 86 | | |
81 | 87 | | |
82 | | - | |
| 88 | + | |
83 | 89 | | |
84 | 90 | | |
85 | 91 | | |
| |||
0 commit comments