Skip to content

Commit

Permalink
Update nexus/src/app/background/init.rs
Browse files Browse the repository at this point in the history
Co-authored-by: David Pacheco <[email protected]>
  • Loading branch information
hawkw and davepacheco authored Feb 12, 2024
1 parent 11a63a0 commit 54c992a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nexus/src/app/background/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};

Expand Down

0 comments on commit 54c992a

Please sign in to comment.