Gateway: wait for snapshot before connect

This commit is contained in:
Mariano Belinky
2026-01-31 18:00:34 +01:00
committed by Mariano Belinky
parent 84e115834f
commit a4382607d7
2 changed files with 64 additions and 3 deletions

View File

@@ -154,6 +154,6 @@ private func restoreKeychain(_ snapshot: [KeychainEntry: String?]) {
GatewaySettingsStore.bootstrapPersistence()
#expect(KeychainStore.loadString(service: gatewayService, account: passwordEntry.account) == "manual-secret")
#expect(UserDefaults.standard.string(forKey: "gateway.manual.password") == nil)
#expect(UserDefaults.standard.string(forKey: "gateway.manual.password") != "manual-secret")
}
}