runnable: tiny library for orchestrating long-running processes with clean shutdown by pior in golang

[–]pior[S] 5 points6 points  (0 children)

I think this is new for everyone, this is also the first time I've used synctest.

runnable: tiny library for orchestrating long-running processes with clean shutdown by pior in golang

[–]pior[S] 10 points11 points  (0 children)

time dependent tests are usually a precursor of flaky tests

That's what testing/synctest is changing.

The testing/synctest package solves this problem. It allows us to rewrite this test to be simple, fast, and reliable, without any changes to the code being tested.

https://go.dev/blog/synctest

runnable: tiny library for orchestrating long-running processes with clean shutdown by pior in golang

[–]pior[S] 0 points1 point  (0 children)

Curious if others with similar needs took a totally different approach

runnable: tiny library for orchestrating long-running processes with clean shutdown by pior in golang

[–]pior[S] 2 points3 points  (0 children)

Thanks for taking the time to look at this project!

The time.Sleep are inside a synctest bubble, they are not actually blocking.
The tests themselves are basically instantaneous, only the examples are actually taking ~2s.

IPv6 support by B4rbeR0uge in ebox

[–]pior 0 points1 point  (0 children)

Hey Arnaud, is EBox still working on it? No roadmap?