Skip to content

Commit 30375cf

Browse files
authored
test(go.d): synchronize secret store mutation tests (#24535)
1 parent 95bb345 commit 30375cf

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎src/go/plugin/agent/jobmgr/composition/secret_flow_test.go‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,11 @@ func testProcessCoreSecretMutationDependentRestart(
323323
output.waitContains(t, "CONFIG go.d:collector:module:job status running")
324324
}
325325

326+
// Initial secrets can serve collectors before the acquisition attempt releases.
327+
// Wait so Store contention cannot mask the mutation and generation-fence checks.
328+
client := &secretAdoptionProcess{t: t, process: process}
329+
client.waitStoreAttemptReleased("vault:main")
330+
326331
uid := "secret-" + command
327332
target := "go.d:secretstore:vault:main update"
328333
if command == "add" {

0 commit comments

Comments
 (0)