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

Crash problem is fixed when an adress is not found in private_to_public map. #1073

Merged
merged 1 commit into from
Dec 30, 2022

Conversation

OzanCansel
Copy link
Contributor

  • If network_address_provider cannot translate the adress, translate method throws an exception.
  • Unit test is added.

@OzanCansel OzanCansel added this to the 5.1.0 milestone Dec 29, 2022
@OzanCansel OzanCansel self-assigned this Dec 29, 2022
@devOpsHazelcast
Copy link
Contributor

Linux test FAILed.

@OzanCansel OzanCansel force-pushed the cloud-translate-fix branch 2 times, most recently from 79a9e1c to c9fbe1c Compare December 29, 2022 13:37
@devOpsHazelcast
Copy link
Contributor

Linux test FAILed.

1 similar comment
@devOpsHazelcast
Copy link
Contributor

Linux test FAILed.

@devOpsHazelcast
Copy link
Contributor

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{}),
Copy link
Collaborator

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

@devOpsHazelcast
Copy link
Contributor

Windows test PASSed.

@devOpsHazelcast
Copy link
Contributor

Linux test PASSed.

ihsandemir
ihsandemir previously approved these changes Dec 29, 2022
@devOpsHazelcast
Copy link
Contributor

Windows test FAILed.

@devOpsHazelcast
Copy link
Contributor

Linux test PASSed.

@devOpsHazelcast
Copy link
Contributor

Windows test PASSed.

@devOpsHazelcast
Copy link
Contributor

Linux test PASSed.

@OzanCansel OzanCansel merged commit 3ad2085 into hazelcast:master Dec 30, 2022
OzanCansel added a commit to OzanCansel/hazelcast-cpp-client that referenced this pull request Dec 30, 2022
OzanCansel added a commit that referenced this pull request Dec 30, 2022
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.

3 participants