Finish native completion and retire legacy command machinery
This commit is contained in:
@@ -39,12 +39,10 @@ func TestRestoreHoldsTransitionLockBeforePlanning(t *testing.T) {
|
||||
|
||||
restoreDone := make(chan error, 1)
|
||||
go func() {
|
||||
restoreDone <- restoreWithDependencies(context.Background(), []string{
|
||||
cfg.Session.SessionID,
|
||||
restoreDone <- invokeNativeCommandWith(context.Background(), []string{"session", "restore", cfg.Session.SessionID,
|
||||
"--config", pipelinePath,
|
||||
"--campaign-file", campaignPath,
|
||||
"--session", sessionPath,
|
||||
}, &bytes.Buffer{}, deps)
|
||||
"--campaign-file", campaignPath, "--session-file", sessionPath,
|
||||
}, &bytes.Buffer{}, executePlan, deps)
|
||||
}()
|
||||
<-planning
|
||||
|
||||
|
||||
Reference in New Issue
Block a user