test: fix global.PORT in dgram-cluster-test-1#12491
Conversation
|
Hey Benji, Ok, I found the error log |
| if (common.isWindows) { | ||
| common.skip('dgram clustering is currently not supported ' + | ||
| 'on windows.'); | ||
| 'on windows.'); |
There was a problem hiding this comment.
I'm apologize, It's not related.
There was a problem hiding this comment.
No worries. Thanks for taking the time to do this PR, and I hope the duplicate PR thing won't discourage you from doing more!
There was a problem hiding this comment.
Thanks again, I'm definitely planning to do more..
There was a problem hiding this comment.
ืืื ืืชืืืื ืฉืืืื ืืชืงื ืืช ืื ๐
ืืชื ืืืื ืืฉื ืืช ืืช ืืงืืืื ืืืืจืื ืืขืฉืืช ืคืืจืก-ืคืืฉ, ืื ืืืืกืืฃ ืขืื ืงืืืื.
There was a problem hiding this comment.
@refack please stick to English in comments, thanks :) (so people are not excluded from the discussion). We have the Hebrew locale repo if you'd like to participate in translation and localization efforts.
|
It looks like there's another PR that fixes the same issue that came in about 3 hours earlier. #12487 I'd leave this one open until in case that one doesn't land or this one is deemed superior for some reason. As for the CI failure, it looks like a build issue unrelated to this change. I wouldn't worry about it. |
|
ืืจืื ืืื |
|
[No secrets were shared in Hebrew ๐(all Googleable), just me screaching an itch to communicate in the old tongue] |
| s.bind(0, () => { | ||
| const port = s.address().port; | ||
| s.close(); | ||
| cb(null, port); |
Hi,
This is my first attempt at a pull request here. Attempted to fix the issue referenced below.
Note that we pass the port from the cluster master to the workers via
process.send.Got some (administrative) help from @benjamingr #goodnessSquad
Refs: #12376
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)