-
Notifications
You must be signed in to change notification settings - Fork 96
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
[WIP] Enable retry on functional test #7366
[WIP] Enable retry on functional test #7366
Conversation
Signed-off-by: Young Bu Park <[email protected]>
Signed-off-by: Young Bu Park <[email protected]>
Signed-off-by: Young Bu Park <[email protected]>
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
Signed-off-by: Young Bu Park <[email protected]>
validation.ValidateRPResources(ctx, t, step.RPResources, ct.Options.ManagementClient) | ||
t.Logf("finished validating output resources for %s", step.Executor.GetDescription()) | ||
} | ||
retry.Run(t, func(r *retry.R) { |
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.
@willdavsmith This is the test util from hashicorp consul to enable retry. cc/ @ytimocin
test/functional/shared/rptest.go
Outdated
step.PostStepVerify(ctx, r, ct) | ||
r.Logf("finished post-deploy verification for %s", step.Executor.GetDescription()) | ||
} | ||
}, retry.WithRetryer(&retry.Counter{Count: 3, Wait: 10 * time.Second})) |
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.
3 retry with 10 sec interval
Signed-off-by: Young Bu Park <[email protected]>
Signed-off-by: Young Bu Park <[email protected]>
Description
This is to enable retry on functional test.
Type of change
Fixes: #issue_number