Serialize restore recovery and rebase manifest paths
This commit is contained in:
@@ -1076,8 +1076,8 @@ func TestExecuteStagesRejectsPersistedManifestIdentityMismatch(t *testing.T) {
|
||||
t.Fatal("persisted manifest changed after identity rejection")
|
||||
}
|
||||
paths := artifacts.NewLocalStore(cfg.Pipeline.Workspace.Root).SessionPathsFor(cfg.Session.Campaign, cfg.Session.SessionID)
|
||||
if _, err := os.Stat(paths.LockPath); !os.IsNotExist(err) {
|
||||
t.Fatalf("lock path stat error = %v, want no lock side effect", err)
|
||||
if _, err := os.Stat(paths.LockPath); err != nil {
|
||||
t.Fatalf("lock path stat error = %v, want transition lock", err)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user