Skip to content

Conversation

@ewoutp
Copy link
Contributor

@ewoutp ewoutp commented Jun 8, 2018

Implements #162 (comment)

func TestCreateNodeClientMap(t *testing.T) {
GB := int64(1024 * 1024 * 1024)
foo := mocks.NewProvisioner("foo", 100*GB, 100*GB)
bar := mocks.NewProvisioner("bar", 100*GB, 100*GB)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

trivial: my preference would be to have four different values instead of 100*GB for all. What if you happen to have one of parameters backwards some place in the code?

@ewoutp ewoutp merged commit d9db5e9 into master Jun 15, 2018
@ewoutp ewoutp removed the 4 - Review label Jun 15, 2018
@ewoutp ewoutp deleted the tests/storage-pv-creator branch June 15, 2018 05:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants