-
Notifications
You must be signed in to change notification settings - Fork 46
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
Crash problem is fixed when an adress is not found in private_to_public map. #1073
Conversation
OzanCansel
commented
Dec 29, 2022
- If network_address_provider cannot translate the adress, translate method throws an exception.
- Unit test is added.
1901378
to
4ea72e0
Compare
Linux test FAILed. |
79a9e1c
to
c9fbe1c
Compare
Linux test FAILed. |
1 similar comment
Linux test FAILed. |
Windows test FAILed. |
new spi::impl::discovery::remote_address_provider{ | ||
[]() { return std::unordered_map<address, address>{}; }, true })); | ||
|
||
EXPECT_THROW(connection_manager.get_or_connect(hazelcast::client::member{}), |
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.
can you put a dummy address instead of empty constructor to be more realistic?
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.
Fixed.
Windows test PASSed. |
Linux test PASSed. |
c9fbe1c
to
b2f788c
Compare
Windows test FAILed. |
b2f788c
to
e2e8ca1
Compare
Linux test PASSed. |
Windows test PASSed. |
Linux test PASSed. |