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

Robuster waiting for validators' readiness #36

Merged
merged 3 commits into from Jan 22, 2019
Merged

Conversation

adaszko
Copy link
Contributor

@adaszko adaszko commented Jan 21, 2019

@adaszko adaszko force-pushed the more-robust-waiting branch 9 times, most recently from 3dd7cc5 to ff9ac51 Compare January 21, 2019 15:29
return 2
fi
local container_name_substring=$1; shift
local log_message=$1; shift
Copy link
Contributor

Choose a reason for hiding this comment

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

What's the benefit of shift over $2?

Copy link
Contributor Author

@adaszko adaszko Jan 21, 2019

Choose a reason for hiding this comment

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

Adding and removing parameters generates fewer mistakes

wait-for-bootstrap:
image: docker
commands:
- until ci/is-container-log-line-present.sh _step_4 'Making a transition to ApprovedBlockRecievedHandler state.'; do echo $?; sleep 5; done
Copy link
Contributor

Choose a reason for hiding this comment

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

Does drone yaml version support constants? Making a transition to ApprovedBlockRecievedHandler state. is a good candidate

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't believe it does

@adaszko adaszko merged commit ab8d523 into master Jan 22, 2019
@adaszko adaszko deleted the more-robust-waiting branch February 11, 2019 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants