Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.

The original condition should be returned in addition to the new one sin... #136

Merged
merged 1 commit into from
Aug 29, 2014

Conversation

alfasin
Copy link
Contributor

@alfasin alfasin commented Aug 29, 2014

...ce unit-test will otherwise fail:

the reason for that is that the unit-test checks two things:

  1. selected instances
  2. terminated

and no instance should be selected if we reached the max.
Though the previous fix ensures that we won’t kill the chosen instance - according to the unit-test we should not even choose it (strict approach).

alfasin added a commit that referenced this pull request Aug 29, 2014
The original condition should be returned in addition to the new one sin...
@alfasin alfasin merged commit 7742002 into master Aug 29, 2014
@alfasin alfasin deleted the fix-maxKills-chaos-bug branch August 29, 2014 20:49
…since unit-test will otherwise fail:

the reason for that is that the unit-test checks two things:
1. selected instances
2. terminated

and no instance should be selected if we reached the max.
Though the previous fix ensures that we won’t kill the chosen instance - according to the unit-test we should not even choose it (strict approach).
@cloudbees-pull-request-builder

SimianArmy-pull-requests #144 SUCCESS
This pull request looks good

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants