Skip to content
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

Merged
merged 2 commits into from
Aug 15, 2023

Conversation

sawsa307
Copy link
Contributor

Add TestHelloWorld to set up prow, and add more loggings for boskos project rental.

Create a trivial test to test prow work flow.
test/utils.go Outdated
},
func(err error) bool { return true },
func() error {
klog.Info("Trying to acuquire boskos project...")
Copy link
Member

Choose a reason for hiding this comment

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

spelling "acuquire"

Copy link
Contributor Author

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)
Copy link
Member

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

Copy link
Contributor Author

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,
Copy link
Member

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

Copy link
Contributor Author

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.
@bowei bowei merged commit aeeb616 into GoogleCloudPlatform:main Aug 15, 2023
2 checks passed
@sawsa307 sawsa307 deleted the create-test-hw branch September 22, 2023 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants