Skip to content

GEODE-8326: remove 5 minutes wait to get stack dump#5358

Merged
pivotal-eshu merged 2 commits intoapache:developfrom
pivotal-eshu:feature/GEODE-8326
Jul 13, 2020
Merged

GEODE-8326: remove 5 minutes wait to get stack dump#5358
pivotal-eshu merged 2 commits intoapache:developfrom
pivotal-eshu:feature/GEODE-8326

Conversation

@pivotal-eshu
Copy link

Thank you for submitting a contribution to Apache Geode.

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

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?

Note:

Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to dev@geode.apache.org.

Copy link
Contributor

@DonalEvans DonalEvans left a comment

Choose a reason for hiding this comment

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

While it's good practice to remove custom await durations from tests, the default timeout in GeodeAwaitility is also 5 minutes, so this change will have no real effect.

@pivotal-eshu
Copy link
Author

Thanks for pointing out the default timeout time. I have updated the test so that stack dump can be generated if failed again.

((InternalCache) clientCacheRule.getClientCache()).getClientMetadataService();
clientMetadataService.scheduleGetPRMetaData((InternalRegion) region, true);
await().atMost(5, MINUTES).until(clientMetadataService::isMetadataStable);
await().atMost(5, HOURS).until(clientMetadataService::isMetadataStable);
Copy link

Choose a reason for hiding this comment

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

5 hours is a long time...Will this change going to be merged to develop? Can the debug be tried with local/private build?

Copy link
Author

Choose a reason for hiding this comment

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

It is not reproducible in private/local build. We only need to have it to fail once, once the stack dump is triggered, we can/should change it back to default timeout.

Copy link
Contributor

Choose a reason for hiding this comment

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

seems like this experiment could have been conducted in the PR pipeline, shouldn't have needed to merge to develop

@pivotal-eshu pivotal-eshu merged commit 9cd8e7d into apache:develop Jul 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants