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

enable flaky local cluster tests #5616

Conversation

ParthDesai
Copy link
Contributor

Problem

Some of tests in local_cluster package fails only in ci. This PR is going to be used to figure out the reason and fix the issue.

Summary of Changes

  1. Enable flaky tests
  2. Only run stable job for quick iteration

Fixes #5350

@ParthDesai ParthDesai force-pushed the parth/enable-flaky-local-cluster-test branch 2 times, most recently from 3d2d291 to 602f051 Compare August 26, 2019 09:45
for validator in &cluster_nodes {
if ignore_nodes.contains(&validator.id) {
continue;
let sigResult =
Copy link
Contributor

Choose a reason for hiding this comment

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

@ParthDesai, there's usually a fundamental issue in the protocol when the signature isn't being confirmed, which needs to be root caused. Indeed the purpose of this function is to send a transaction to each specific validator, and to check that the transaction then propagates to the rest of the network. Thus, a failure to get the transaction signature on any iteration of this loop should fail the entire test, and we shouldn't retry with another client.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@carllin understood.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@carllin anyways, was just expertimenting with different things to get any useful debug information.

Copy link
Contributor

@carllin carllin Aug 26, 2019

Choose a reason for hiding this comment

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

no problem!

@ParthDesai ParthDesai force-pushed the parth/enable-flaky-local-cluster-test branch from 0979a6f to d3394df Compare August 28, 2019 06:22
@ParthDesai ParthDesai closed this Sep 12, 2019
@ParthDesai ParthDesai deleted the parth/enable-flaky-local-cluster-test branch September 12, 2019 20:37
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.

Re-enable local_cluster tests
2 participants