Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

miner tests part 8 #362

Merged
merged 2 commits into from
May 18, 2022
Merged

miner tests part 8 #362

merged 2 commits into from
May 18, 2022

Conversation

LesnyRumcajs
Copy link
Contributor

@LesnyRumcajs LesnyRumcajs commented May 16, 2022

Implementing tests from here.

  • cannot_remove_missing_partition
  • removing_no_partitions_does_nothing
  • fails_to_remove_partitions_with_faulty_sectors
  • terminate_proven_and_faulty
  • terminate_unproven_and_faulty
  • fails_to_terminate_missing_sector
  • fails_to_terminate_missing_partition
  • fails_to_terminate_already_terminated_sector
  • faulty_sectors_expire
  • cannot_pop_expired_sectors_before_proving

Fixed a particular fiasco in Deadline::remove_partitions that was making cannot_remove_missing_partition test fail. Also, there was some dead code condition that I thought would be nice to obliterate.

@LesnyRumcajs LesnyRumcajs force-pushed the miner-deadlines-test-p8 branch from 9966ddd to 0d32849 Compare May 18, 2022 07:32
@LesnyRumcajs LesnyRumcajs enabled auto-merge (squash) May 18, 2022 07:32
@LesnyRumcajs LesnyRumcajs merged commit 701a927 into master May 18, 2022
@LesnyRumcajs LesnyRumcajs deleted the miner-deadlines-test-p8 branch May 18, 2022 07:43
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants