Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

add a test that reduces the size of the producer set #6430

Merged
merged 2 commits into from
Dec 12, 2018

Conversation

wanderingbort
Copy link
Contributor

@wanderingbort wanderingbort commented Dec 4, 2018

Change Description

Add an additional test to the producer_schedule_tests that decreases the size of the producer set from 3 to 2

Add an additional test to the producer_schedule_tests that verifies that a proposed empty producer schedule cannot become active and will not cause gaps to form in the schedule versions of active producer schedules.

Consensus Changes

API Changes

Documentation Additions

{N(bob), get_public_key(N(bob), "active")},
{N(carol), get_public_key(N(carol), "active")}
};
//wlog("set producer schedule to [alice,bob]");
Copy link
Contributor

Choose a reason for hiding this comment

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

remove

{N(alice), get_public_key(N(alice), "active")},
{N(bob), get_public_key(N(bob), "active")}
};
wlog("set producer schedule to [alice,bob,carol]");
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be [alice,bob], right?

@heifner heifner merged commit e9fe246 into develop Dec 12, 2018
@heifner heifner deleted the feature/add-test-for-reducing-producer-schedule branch December 12, 2018 02:18
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.

4 participants