From 54c992a083cded29e7770c2c945c92dee5804f1b Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Mon, 12 Feb 2024 12:17:41 -0800 Subject: [PATCH] Update nexus/src/app/background/init.rs Co-authored-by: David Pacheco --- nexus/src/app/background/init.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nexus/src/app/background/init.rs b/nexus/src/app/background/init.rs index 0834bf698e..27e58a298c 100644 --- a/nexus/src/app/background/init.rs +++ b/nexus/src/app/background/init.rs @@ -477,6 +477,12 @@ pub mod test { SocketAddr::V6(a) => a, }; + // In order to test that DNS gets propagated to a newly-added server, we + // first need to update the source of truth about DNS (the database). + // Then we need to wait for that to get propagated (by this same + // mechanism) to the existing DNS servers. Only then would we expect + // the mechanism to see the new DNS server and then propagate + // configuration to it. let update = { use nexus_params::{DnsRecord, Srv};