babashka-sci-dev

borkdude 2023-04-14T11:46:51.141149Z

Somehow the Windows tests are always failing lately on the same socket tests. If someone has the time and energy to look into this, please do!

Bob B 2023-04-16T17:54:59.364269Z

FYI, can confirm this doesn't happen in my local win env - I'm going to set up an appveyor build on my acct so I can test reproducing and hopefully find a cause

borkdude 2023-04-16T17:56:03.559099Z

🙏

borkdude 2023-04-16T17:56:37.513729Z

this sometimes happens in circleci too, but lately it seems to happen consistently in appveyor. we could just mark this test as ^:flaky as a last resort though

Bob B 2023-04-16T17:58:37.318779Z

the sort of funny part is, it is marked flaky, but since it's behind the env var, it doesn't execute as part of the flaky tests, only as part of the BABASHKA_SOCKET_REPL_TEST tests

borkdude 2023-04-16T17:59:00.930949Z

aha!

Bob B 2023-04-17T02:53:25.066939Z

I think the flakiness could be a timing thing... I put some longer notes at <https://gist.github.com/bobisageek/709d4a8b119d5947e74d559a7f4a8354>, but the tl;dr is I think the port re-use causes some undesired overlap, and I'd like to use different ports for each socket repl test; best case the flakiness goes away, worst case I'm definitely wrong about the cause 🙂

👍 1
borkdude 2023-04-17T06:55:17.944759Z

Good idea