Add a simulated message bridge
This gives us multi-node simulations!
Change-Id: I10fa955653766a26e4d11471a6dae5b47ea5cd1c
diff --git a/aos/events/event_loop_param_test.h b/aos/events/event_loop_param_test.h
index 4f24d78..89e80ae 100644
--- a/aos/events/event_loop_param_test.h
+++ b/aos/events/event_loop_param_test.h
@@ -55,7 +55,7 @@
virtual void SleepFor(::std::chrono::nanoseconds duration) = 0;
void EnableNodes(std::string_view my_node) {
- std::string json = std::string(R"config({
+ std::string json = R"config({
"channels": [
{
"name": "/aos",
@@ -80,9 +80,12 @@
],
"nodes": [
{
- "name": ")config") +
- std::string(my_node) + R"config(",
+ "name": "me",
"hostname": "myhostname"
+ },
+ {
+ "name": "them",
+ "hostname": "themhostname"
}
]
})config";