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

GEODE-10020: For Ping task avoid registering new destination endpoint #7749

Merged
merged 7 commits into from Jun 28, 2022

Conversation

mivanac
Copy link
Contributor

@mivanac mivanac commented Jun 1, 2022

For all changes:

  • [*] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

  • [*] Has your PR been rebased against the latest commit within the target branch (typically develop)?

  • [*] Is your initial contribution a single, squashed commit?

  • [*] Does gradlew build run cleanly?

  • [*] Have you written or updated unit tests to verify your changes?

  • If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

@mivanac mivanac marked this pull request as ready for review June 2, 2022 07:48
@jake-at-work jake-at-work changed the title Newfeature1/geode 10020 GEODE-10020: For Ping task avoid registering new destination endpoint Jun 3, 2022
Comment on lines 296 to 300
await().untilAsserted(() -> assertThat(getQueuedEvents(vm1, senderId)).isEqualTo(0));

await().untilAsserted(() -> assertThat(getSenderPoolDisconnects(vm1, senderId)).isEqualTo(0));

await().untilAsserted(() -> assertThat(getPoolEndPointSize(vm1, senderId)).isEqualTo(1));
Copy link
Contributor

Choose a reason for hiding this comment

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

You can combine these into one await() if you want to:

await().untilAsserted(() -> {
  assertThat(getQueuedEvents(vm1, senderId)).isEqualTo(0);
  assertThat(getSenderPoolDisconnects(vm1, senderId)).isEqualTo(0);
  assertThat(getPoolEndPointSize(vm1, senderId)).isEqualTo(1);
});

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for comments. Updated.

@mivanac mivanac requested a review from kirklund June 7, 2022 18:40
@mivanac
Copy link
Contributor Author

mivanac commented Jun 15, 2022

Hi
just a reminder,
could you review this PR.
This was reverted PR with modifications for failing internal test.
Thanks

@mivanac mivanac merged commit 24613d9 into apache:develop Jun 28, 2022
mkevo pushed a commit to Nordix/geode that referenced this pull request Oct 27, 2022
…apache#7749)

* GEODE-10020: For Ping task avoid registering new destination endpoint
mkevo pushed a commit to Nordix/geode that referenced this pull request Nov 7, 2022
…apache#7749)

* GEODE-10020: For Ping task avoid registering new destination endpoint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants