Complete session-only manifest migration
This commit is contained in:
@@ -854,9 +854,6 @@ func TestExecuteStagesCreatesRunDirectoryPerInvocation(t *testing.T) {
|
||||
if info, statErr := os.Stat(wantWorkDir); statErr != nil || !info.IsDir() {
|
||||
t.Fatalf("run directory %q = %#v, %v; want directory", wantWorkDir, info, statErr)
|
||||
}
|
||||
if _, statErr := os.Stat(filepath.Join(wantWorkDir, "manifest.json")); !os.IsNotExist(statErr) {
|
||||
t.Fatalf("run manifest stat = %v, want not exist", statErr)
|
||||
}
|
||||
}
|
||||
if sessionManifest.LocalWorkDir == artifacts.SessionRunRootForCampaign(cfg.Pipeline.Workspace.Root, cfg.Session.Campaign, cfg.Session.SessionID, run1.RunID) {
|
||||
t.Fatal("session manifest retained the prior invocation work directory")
|
||||
|
||||
Reference in New Issue
Block a user