-
Notifications
You must be signed in to change notification settings - Fork 87
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
Add TestHelloWorld to set up prow, and add more loggings for boskos project rental. #150
Conversation
Create a trivial test to test prow work flow.
9dcb3f2
to
7a2dfb5
Compare
test/utils.go
Outdated
}, | ||
func(err error) bool { return true }, | ||
func() error { | ||
klog.Info("Trying to acuquire boskos project...") |
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.
spelling "acuquire"
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.
Updated.
test/utils.go
Outdated
@@ -60,7 +61,7 @@ func getBoskosProject(resourceType string) *common.Resource { | |||
}, | |||
) | |||
if err != nil { | |||
klog.Fatalf("timed out trying to acquire boskos project") | |||
klog.Fatalf("timed out trying to acquire boskos project: %v", err) |
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.
Error trying to acquire boskos: %v
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.
Updated.
Factor: 1.0, | ||
Steps: 10, | ||
Steps: 30, |
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.
This is 30 minutes. Do we want to wait this long? also should the retry by faster?
Why not do:
10*time.Second
Steps 30
Do we have evidence that the values you are recommending make sense
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.
I don't see anywhere suggesting an estimate of how long it takes, but this is the setup using in https://github.com/GoogleCloudPlatform/gcs-fuse-csi-driver/blob/7485ad00b362a6172c2bceddcdfba8688a8be0e6/test/e2e/utils/project.go#L35. I think we can start with 5 mins and increase if that's not enough.
Increase wait time since project rental currently fails for timeout and doesn't include errors.
7a2dfb5
to
d95369d
Compare
Add TestHelloWorld to set up prow, and add more loggings for boskos project rental.