fix(tests): stabilize Connect inventory fixtures (#6645)

* fix(tests): create inventory fixtures securely

* fix(tests): wait for inventory retry request
This commit is contained in:
Zhengchao An
2026-08-26 15:08:59 +08:00
committed by GitHub
parent 4cd38feae7
commit 3c1e172600
2 changed files with 11 additions and 3 deletions
+1
View File
@@ -1177,6 +1177,7 @@ async fn inventory_retries_with_the_new_credential_after_concurrent_rotation() {
.expect("inventory retry status"),
InventoryStatus::BackingOff { .. }
));
wait_for_requests(&server, 3).await;
runtime.shutdown().await;
let inventory_path = format!("/agent/clusters/{CLUSTER_UID}/inventorySnapshots");