Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

fix: ClientCaller bugs #191

Merged
merged 1 commit into from
Dec 10, 2022
Merged

Conversation

nexttonever
Copy link

@nexttonever nexttonever commented Oct 24, 2022

CallerClient:
[fix] channel closed and not reopen after any error happend, e.g., Deadline
[feat] add protoc cache
[fix] unwrap ExecutionException in call
GrpcSamplerTest.testCanSendSampleRequestWithErrorNullResponse
modify deadline to escape Deadline error
ClientCallerTest.testThrowExceptionWithExceptionInProtocInvoke
use a temporary config to escape protoc cache

}
} catch (InterruptedException e) {
throw new RuntimeException("Caught exception while shutting down channel", e);
} finally {
channel = null; // 清理channel
Copy link
Member

Choose a reason for hiding this comment

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

Would you please comment in English?

Copy link
Author

Choose a reason for hiding this comment

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

ok, i've resolved it

  [fix] channel closed and not reopen after any error happend, e.g., Deadline
  [feat] add protoc cache
  [fix] unwrap ExecutionException in call
GrpcSamplerTest.testCanSendSampleRequestWithErrorNullResponse
  modify deadline to escape Deadline error
ClientCallerTest.testThrowExceptionWithExceptionInProtocInvoke
  use a temporary config to escape protoc cache

Signed-off-by: zhiyizhao <zhiyizhao@lightinthebox.com>
@nexttonever nexttonever changed the title fix: ClientCaller 几处bug修复 fix: ClientCaller bugs Oct 31, 2022
@anhldbk
Copy link
Member

anhldbk commented Dec 10, 2022

@huynhminhtan PTAL

@huynhminhtan huynhminhtan merged commit 8f00b43 into zalopay-oss:master Dec 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants