-
Notifications
You must be signed in to change notification settings - Fork 325
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
fix: change to generation script in manipulating googleapis/WORKSPACE. #3120
Changes from 2 commits
a906a99
ab7fe87
f230fad
eebd82b
ad412f6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -196,8 +196,8 @@ void testCustomTransportChannelProviderUsedWhenProvided() throws IOException { | |
// TransportChannelProvider bean | ||
when(mockApiCallContext.withCredentials(any())).thenReturn(mockApiCallContext); | ||
when(mockApiCallContext.withTransportChannel(any())).thenReturn(mockApiCallContext); | ||
when(mockApiCallContext.withStreamWaitTimeout(any())).thenReturn(mockApiCallContext); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is there going to be errors if we don't mock the behaviors of There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, removing will cause errors (the same ones we observe in the ci before this fix). E.g.
|
||
when(mockApiCallContext.withStreamIdleTimeout(any())).thenReturn(mockApiCallContext); | ||
when(mockApiCallContext.withStreamWaitTimeoutDuration(any())).thenReturn(mockApiCallContext); | ||
when(mockApiCallContext.withStreamIdleTimeoutDuration(any())).thenReturn(mockApiCallContext); | ||
when(mockApiCallContext.withEndpointContext(any())).thenReturn(mockApiCallContext); | ||
|
||
contextRunner | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To @lqiu96 's concerns about resource closing from offline discussion: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, gotcha. Thanks for checking! |
||
|
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.
qq, is this adding the bazel rule to the lines after
api_dependencies()
?