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

Migrate grpc tests to common framework #15750

Closed
wants to merge 2 commits into from

Conversation

padlar
Copy link

@padlar padlar commented Apr 20, 2023

Migrating grpc tests mentioned here #13637

Signed-off-by: Sunil Shivanand <sunil.shivanand@statnett.no>
@padlar padlar marked this pull request as draft April 20, 2023 10:28
Signed-off-by: Sunil Shivanand <sunil.shivanand@statnett.no>
defer cancel()
clus := testRunner.NewCluster(ctx, t, config.WithClusterConfig(tc.config))
defer clus.Close()
cc := testutils.MustClient(clus.Client(tc.ClientOptions))
Copy link

Choose a reason for hiding this comment

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

there are compilation errors for tc.ClientOptions

t.Helper()
requestsFound := 0
for _, m := range clus.Members {
for _, r := range m.RecordedRequests() {
Copy link

Choose a reason for hiding this comment

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

Not sure RecordedRequests will work here. You might have to wait for unified logging capture. See #15718 (comment)

},
{
name: "http://address[:port]",
useTCP: true,
Copy link

Choose a reason for hiding this comment

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

there are compilation errors for useTCP

@stale
Copy link

stale bot commented Aug 12, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Aug 12, 2023
@stale stale bot closed this Sep 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants