lnx-search / datacake

Tooling for creating your own distributed systems.
MIT License
390 stars 22 forks source link

Add `test-helper` package and update tests #29

Closed ChillFish8 closed 1 year ago

ChillFish8 commented 1 year ago

As datacake develops it's becoming more and more hassle manually creating the socket addresses to be used (it's also breaking CI)

To get around this we now have the test-helper package which is responsible for containing any utilities for making testing easier, in this case, it's a small function that asks the os for an unused socket address.