bastion-rs / bastion

Highly-available Distributed Fault-tolerant Runtime
https://www.bastion-rs.com
Apache License 2.0
2.79k stars 103 forks source link

Bastion_test system #322

Closed o0Ignition0o closed 3 years ago

o0Ignition0o commented 3 years ago

Is your feature request related to a problem? Please describe.

In test settings, It might sometimes be unfortunate to have a SYSTEM that handles all of the bastion lifecycle, especially when we want to isolate tests.

Describe the solution you'd like The idea would be to have a bastion_test module that would be local to a test, and provide its own init() start() stop() and block_until_stopped() functions, that wouldn't interfere with other tests.

WDYT?

o0Ignition0o commented 3 years ago

Closing this because I don't think it's required, as long as we spawn distinct groups and target distinct distributors.