Commit fe1f308
fixup! chore(sync-service): upgrade Elixir to 1.20.0-rc.3
Fix flaky CallHomeReporterTest by adding Bypass.pass after assert_receive.
CallHomeReporter.terminate/2 sends a final HTTP report via Task.async,
which races with Bypass's on_exit verification during test cleanup. The
Cowboy handler for this extra request can get killed by the shutdown
cascade, causing Bypass to record {:exit, :shutdown} and re-raise it.
Bypass.pass tells Bypass to return :ok during on_exit regardless.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2121a96 commit fe1f308
1 file changed
Lines changed: 6 additions & 0 deletions
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
75 | 79 | | |
76 | 80 | | |
77 | 81 | | |
| |||
117 | 121 | | |
118 | 122 | | |
119 | 123 | | |
| 124 | + | |
120 | 125 | | |
121 | 126 | | |
122 | 127 | | |
| |||
143 | 148 | | |
144 | 149 | | |
145 | 150 | | |
| 151 | + | |
146 | 152 | | |
147 | 153 | | |
148 | 154 | | |
| |||
0 commit comments