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

orca: switching to stubserver in tests instead of testservice implementation #7727

Merged
merged 20 commits into from
Nov 14, 2024

Conversation

janardhanvissa
Copy link
Contributor

Partially Addresses: #7291

RELEASE NOTES: None

Copy link

codecov bot commented Oct 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.81%. Comparing base (bdd444d) to head (dc47431).
Report is 65 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7727      +/-   ##
==========================================
- Coverage   81.82%   81.81%   -0.02%     
==========================================
  Files         361      374      +13     
  Lines       27828    37978   +10150     
==========================================
+ Hits        22771    31071    +8300     
- Misses       3857     5609    +1752     
- Partials     1200     1298      +98     

see 333 files with indirect coverage changes

orca/service_test.go Outdated Show resolved Hide resolved
orca/service_test.go Outdated Show resolved Hide resolved
@purnesh42H purnesh42H added this to the 1.68 Release milestone Oct 14, 2024
@purnesh42H purnesh42H modified the milestones: 1.68 Release, 1.69 Release Oct 16, 2024
orca/service_test.go Outdated Show resolved Hide resolved
@purnesh42H purnesh42H self-assigned this Oct 22, 2024
orca/service_test.go Outdated Show resolved Hide resolved
orca/service_test.go Show resolved Hide resolved
orca/service_test.go Outdated Show resolved Hide resolved
Copy link
Contributor

@purnesh42H purnesh42H left a comment

Choose a reason for hiding this comment

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

lgtm

@purnesh42H purnesh42H assigned easwars and unassigned janardhanvissa Oct 29, 2024
@purnesh42H
Copy link
Contributor

@easwars for second review

orca/service_test.go Outdated Show resolved Hide resolved
orca/service_test.go Outdated Show resolved Hide resolved
@purnesh42H
Copy link
Contributor

@arvindbr8 for re-review

orca/service_test.go Outdated Show resolved Hide resolved
orca/service_test.go Outdated Show resolved Hide resolved
orca/service_test.go Outdated Show resolved Hide resolved
orca/service_test.go Outdated Show resolved Hide resolved
Copy link
Member

@arvindbr8 arvindbr8 left a comment

Choose a reason for hiding this comment

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

LGTM

stub := &stubserver.StubServer{
Listener: lis,
UnaryCallF: func(ctx context.Context, req *testpb.SimpleRequest) (*testpb.SimpleResponse, error) {

Copy link
Member

Choose a reason for hiding this comment

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

Suggested change

@purnesh42H purnesh42H merged commit 89737ae into grpc:master Nov 14, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants