Skip to content

Commit

Permalink
cluster_test.go - resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
suryagupta4 committed Jan 28, 2025
1 parent 147ec7e commit 9618d1d
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,12 @@ func TestGetStatistics(t *testing.T) {
client.API.(*mocks.Client).On("VolumesPath", anyArgs...).Return("/ifs/data").Once()
client.API.(*mocks.Client).On("Get", anyArgs...).Return(nil).Run(func(args mock.Arguments) {
resp := args.Get(5).(**apiv3.IsiStatsResp)
<<<<<<< HEAD
*resp = &apiv3.IsiStatsResp{
StatsList: []*apiv3.IsiStats{
{
Key: "ifs.bytes.avail",
},
=======
stats := &apiv3.IsiStats{
Key: "ifs.bytes.avail",
}
*resp = &apiv3.IsiStatsResp{
StatsList: []*apiv3.IsiStats{
stats,
>>>>>>> 3f414a3d2f45df7529b27daa42ea64443736ebe1
},
}
}).Once()
Expand Down Expand Up @@ -84,11 +76,7 @@ func TestGetFloatStatistics(t *testing.T) {

func TestIsIOInProgress(t *testing.T) {
client.API.(*mocks.Client).ExpectedCalls = nil
<<<<<<< HEAD
client.API.(*mocks.Client).On("VolumesPath", anyArgs...).Return("").Once()
=======
client.API.(*mocks.Client).On("VolumesPath", anyArgs...).Return("/ifs/data").Once()
>>>>>>> 3f414a3d2f45df7529b27daa42ea64443736ebe1
client.API.(*mocks.Client).On("Get", anyArgs...).Return(nil).Run(func(args mock.Arguments) {
resp := args.Get(5).(**apiv3.ExportClientList)
*resp = &apiv3.ExportClientList{}
Expand Down

0 comments on commit 9618d1d

Please sign in to comment.