diff --git a/src/config/watch/fs.rs b/src/config/watch/fs.rs index 06cd7137d5..6da87f653c 100644 --- a/src/config/watch/fs.rs +++ b/src/config/watch/fs.rs @@ -84,7 +84,7 @@ mod tests { }); std::fs::write(&file_path, serde_yaml::to_string(&source).unwrap()).unwrap(); - tokio::time::sleep(std::time::Duration::from_millis(250)).await; + tokio::time::sleep(std::time::Duration::from_millis(500)).await; assert_eq!(source, dest); } diff --git a/src/xds.rs b/src/xds.rs index fd76331ed2..4fe0c9a1d3 100644 --- a/src/xds.rs +++ b/src/xds.rs @@ -289,6 +289,7 @@ mod tests { async fn basic() { let config: Arc = serde_json::from_value(serde_json::json!({ "version": "v1alpha1", + "admin": null, "proxy": { "id": "test-proxy", "port": 23456u16,