TechWizard9999 opened a new issue, #2993: URL: https://github.com/apache/datafusion-ballista/issues/2993
**Describe the bug** On Windows, create_grpc_server_incoming sets SO_REUSEADDR before it binds. On Windows that option lets a second socket bind a port that is still in use, so a second server can start on the same port instead of failing. The standard library skips this option on Windows for that reason. **To Reproduce** Run cargo test -p ballista-core --lib test_create_grpc_server_incoming_port_in_use on Windows. The second bind succeeds and the test fails. **Expected behavior** Binding a port that is in use fails, like on Linux and macOS. **Additional context** CI runs tests only on Linux and macOS, so it does not catch this. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
