Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Kifen committed Jan 23, 2020
1 parent 93a2ed1 commit d5dc430
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/visor/rpc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func TestStartStopApp(t *testing.T) {
}
appArgs1 := append([]string{filepath.Join(node.dir(), app)}, apps["foo"].Args...)
appPID1 := appcommon.ProcID(10)
pm.On("Run", mock.Anything, appCfg1, appArgs1, mock.Anything, mock.Anything).
pm.On("Start", mock.Anything, appCfg1, appArgs1, mock.Anything, mock.Anything).
Return(appPID1, testhelpers.NoErr)
pm.On("Wait", app).Return(testhelpers.NoErr)
pm.On("Stop", app).Return(testhelpers.NoErr)
Expand Down
2 changes: 1 addition & 1 deletion pkg/visor/visor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func TestNodeStartClose(t *testing.T) {
}
appArgs1 := append([]string{filepath.Join(node.dir(), apps["skychat"].App)}, apps["skychat"].Args...)
appPID1 := appcommon.ProcID(10)
pm.On("Run", mock.Anything, appCfg1, appArgs1, mock.Anything, mock.Anything).
pm.On("Start", mock.Anything, appCfg1, appArgs1, mock.Anything, mock.Anything).
Return(appPID1, testhelpers.NoErr)
pm.On("Wait", apps["skychat"].App).Return(testhelpers.NoErr)

Expand Down

0 comments on commit d5dc430

Please sign in to comment.