TEST: Fix expected result invoking getStat. #686
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
motivation
현재 testGetStats 관련 테스트 코드들은
mc가 1개만 띄워져 있는 상황을 가정하여 테스트 코드가 작성되어있다.
mc가 여러개 띄워진 상태에서 해당 테스트 코드를
수행할 시 fail이 발생한다.
그래서 연결된 client의 nodes 수만큼 검증하도록 변경한다.
추후 Github action을 3개의 mc가 띄워진 형태로 변경할 예정입니다.
현재 Local에서 3개의 mc을 띄우고 아래 테스트 코드를 실행하면 fail이 발생합니다.