events: an e2e test — an emitted event reaches the audit trail over the mesh's broker #2

Merged
jschoubben merged 78 commits from events/audit-e2e into initialization 2026-09-05 01:07:06 +00:00
Showing only changes of commit 622b414e4e - Show all commits
+5 -1
View File
@@ -1342,6 +1342,11 @@ test("every name under a machine resolves to that machine", {
// It follows the machines. A node leaving the private network must stop being answered for,
// because a wildcard pointing at nothing resolves and then hangs — where an unresolvable name
// fails at once and says which name it was.
//
// Both, and that is not tidiness: `mesh-resolver` requires name resolution, which requires the
// network, so unassigning the domain module alone leaves the machine on the network — pulled
// back by its own requirement. The mesh was right and this test was wrong the first time.
await mesh("unassign laptop mesh-resolver");
await mesh("unassign laptop networking");
await mesh("push anchor");
await new Promise((r) => setTimeout(r, 15_000));
@@ -1354,7 +1359,6 @@ test("every name under a machine resolves to that machine", {
await mesh("assign laptop networking");
await mesh("unassign anchor mesh-resolver");
await mesh("unassign laptop mesh-resolver");
await mesh("push");
await new Promise((r) => setTimeout(r, 15_000));
});