Skip to content

Commit

Permalink
Merge pull request #74 from mayankshah1607/mayank/fix-tests
Browse files Browse the repository at this point in the history
fix: failing unit tests in `./internal/...`
  • Loading branch information
k8s-ci-robot authored Sep 7, 2020
2 parents 1c32ab5 + e975865 commit 7c0b32d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion internal/server/volume/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,17 @@ func (volumeAPI *fakeVolumeAPI) ResizeVolume(volumeID string, size int64) error
return nil
}

func (volumeAPI *fakeVolumeAPI) VolumeStats(volumeID string) (int64, int64, int64, error) {
func (volumeAPI *fakeVolumeAPI) GetVolumeDiskNumber(volumeID string) (int64, error) {
return -1, nil

}

func (volumeAPI *fakeVolumeAPI) GetVolumeIDFromMount(mount string) (string, error) {
return "id", nil

}

func (volumeAPI *fakeVolumeAPI) VolumeStats(volumeID string) (int64, int64, error) {
return -1, -1, nil
}

Expand Down

0 comments on commit 7c0b32d

Please sign in to comment.