-
Notifications
You must be signed in to change notification settings - Fork 813
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix integration Test #156
Fix integration Test #156
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: leakingtapan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Pull Request Test Coverage Report for Build 265
💛 - Coveralls |
Pull Request Test Coverage Report for Build 266
💛 - Coveralls |
a67b62c
to
b56ea8e
Compare
lgtm thanks for fix! |
@@ -521,7 +521,7 @@ func (c *cloud) waitForVolume(ctx context.Context, volumeID string) error { | |||
case "available": | |||
return true, nil | |||
case "creating": | |||
return false, fmt.Errorf("volume %s is still being created", volumeID) | |||
return false, nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you need to remove the error? Since this is in a wait.Poll
loop, it's useful to have the error message in case the condition times out. Otherwise you only get a time out error.
Edit: oh, nevermind! I just noticed that this error is scaling up to wait.Poll
.
Fix issues detect during enabling integration test
Ref #153