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

test: modify tests to use stubserver #7951

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

pvsravani
Copy link
Contributor

Partially Addresses: #7291

RELEASE NOTES: None

@purnesh42H purnesh42H changed the title test: Modify tests to use stubserver instead of testservice test: modify tests to use stubserver instead of testservice Dec 23, 2024
@purnesh42H purnesh42H changed the title test: modify tests to use stubserver instead of testservice test: modify tests to use stubserver Dec 23, 2024
@purnesh42H purnesh42H self-assigned this Dec 24, 2024

testgrpc.RegisterTestServiceServer(s, ss)
defer ss.S.Stop()
stubserver.StartTestService(nil, ss)
Copy link
Contributor

Choose a reason for hiding this comment

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

why are you passing nil? You can pass t from caller and provide the same here?

}

go s.Serve(lis)
stubserver.StartTestService(nil, ss)
Copy link
Contributor

Choose a reason for hiding this comment

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

why are you passing nil? You can pass t from caller and provide the same here?

@purnesh42H purnesh42H assigned pvsravani and unassigned purnesh42H Dec 26, 2024
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