shotover / shotover-proxy

L7 data-layer proxy
https://docs.shotover.io
Apache License 2.0
84 stars 16 forks source link

#1643 Fix cassandra_int_tests::passthrough_cassandra_down on macOS #1644

Closed justinweng-instaclustr closed 4 months ago

justinweng-instaclustr commented 4 months ago

Similar to https://github.com/shotover/shotover-proxy/pull/1617, this PR fixes the OS error code in cassandra_int_tests::passthrough_cassandra_down for macOS.

All the error messages of Connection refused (os error ...) should be using the OS-dependent CONNECTION_REFUSED_OS_ERROR now.

All the passthrough tests now pass on macOS.

image

Closes #1643

codspeed-hq[bot] commented 4 months ago

CodSpeed Performance Report

Merging #1644 will not alter performance

Comparing justinweng-instaclustr:1643-passthrough_cassandra_down-fails-on-macos (ccb53dc) with main (60d7caa)

Summary

✅ 37 untouched benchmarks