Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Yiyuanzzz committed May 16, 2023
1 parent efa4974 commit 888d2d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions agent/app/agent_unix_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,7 @@ func TestDoStartGPUManagerInitError(t *testing.T) {
mockServiceConnectManager.EXPECT().GetLoadedAppnetVersion().AnyTimes()
mockServiceConnectManager.EXPECT().GetCapabilitiesForAppnetInterfaceVersion("").AnyTimes()
mockServiceConnectManager.EXPECT().SetECSClient(gomock.Any(), gomock.Any()).AnyTimes()
client.EXPECT().GetHostResources().Return(testHostResource, nil).Times(1)

cfg := getTestConfig()
cfg.GPUSupportEnabled = true
Expand Down

0 comments on commit 888d2d9

Please sign in to comment.