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

runctl: allow cluster size to be set to CPUs #123

Merged
merged 1 commit into from May 20, 2015

Conversation

sam-github
Copy link
Contributor

Command line and environment variable parsing supported a cluster size
of "cpus", but the set-size command did not, now it does.

@@ -100,6 +102,14 @@ tap.test('runctl via clusterctl', function(t) {
}, 'status worker id 6');

t.doesNotThrow(function() {
expect('set-size CPUs');
Copy link
Member

Choose a reason for hiding this comment

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

Should do a set-size 0 before this, otherwise the test isn't valid if it happens to run on a 2 core system (quite possible in CI environments).

@rmg
Copy link
Member

rmg commented May 15, 2015

Other than a corner case in the test assumptions, LGTM.

@sam-github
Copy link
Contributor Author

Build failing for a real bug in 0.12. I'm fixing in strongloop/strong-cluster-control#52, and will merge this because its needed for docker.

Command line and environment variable parsing supported a cluster size
of "cpus", but the set-size command did not, now it does.
sam-github added a commit that referenced this pull request May 20, 2015
runctl: allow cluster size to be set to CPUs
@sam-github sam-github merged commit 55f7f9b into master May 20, 2015
@sam-github sam-github deleted the support-set-size-of-cpus branch May 20, 2015 05:54
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.

None yet

2 participants