Skip to content

Updating zk quorum tests #10

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

Merged
merged 1 commit into from
Jun 7, 2017
Merged

Updating zk quorum tests #10

merged 1 commit into from
Jun 7, 2017

Conversation

amitaekbote
Copy link
Contributor

Updating zk quorum check to include tests, also fixed bugs that the tests caught

@@ -13,6 +13,9 @@ const (
statusWarning
statusFailure
statusUnknown

// exhibitor admin router port
exhibitorPort = 8181
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe we should make it configurable from CLI and set default value to 8181?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup we will move all these constants to the runner once #9 gets merged

Name: name,
}
check := &ZkQuorumCheck{Name: name}
check.urlFunc = check.getURL
Copy link
Contributor

Choose a reason for hiding this comment

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

hm, what are you trying to do here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is what we did for being able to test the json parsing with a random url, if you look at the httptest we needed this. more discussion #5

@mnaboka mnaboka merged commit 193db6b into dcos:master Jun 7, 2017
@amitaekbote amitaekbote deleted the zk_test branch June 28, 2017 21:09
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.

2 participants