Commit 77f3c1f
test: fix http-agent-destroyed-socket cb not firing
A whole part of the test-http-agent-destroyed-socket test
was not running as the semantics of http events changed
slightly and were no longer triggering the expected event.
Instead listen to the same event on the socket to verify
that the code being tested is still working as expected.
PR-URL: #20006
Fixes: #8613
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>1 parent ed45a8b commit 77f3c1f
1 file changed
+2
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | 47 | | |
49 | 48 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | 49 | | |
61 | 50 | | |
62 | | - | |
63 | | - | |
64 | | - | |
| 51 | + | |
65 | 52 | | |
66 | 53 | | |
67 | 54 | | |
| |||
70 | 57 | | |
71 | 58 | | |
72 | 59 | | |
73 | | - | |
| 60 | + | |
74 | 61 | | |
75 | 62 | | |
76 | 63 | | |
| |||
0 commit comments