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

test: protect tests from bad random height #763

Merged
merged 4 commits into from
Oct 20, 2023

Conversation

b00f
Copy link
Collaborator

@b00f b00f commented Oct 20, 2023

Description

This PR ensures that the random height is always greater than 1000.

@codecov
Copy link

codecov bot commented Oct 20, 2023

Codecov Report

Merging #763 (4b1e76b) into main (11299c6) will increase coverage by 0.06%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #763      +/-   ##
==========================================
+ Coverage   82.81%   82.87%   +0.06%     
==========================================
  Files         173      173              
  Lines        8058     8058              
==========================================
+ Hits         6673     6678       +5     
+ Misses       1064     1060       -4     
+ Partials      321      320       -1     

@amirvalhalla
Copy link
Contributor

@b00f please fix the deadlock and race condition

@amirvalhalla amirvalhalla merged commit 1fc2f15 into pactus-project:main Oct 20, 2023
12 checks passed
@b00f b00f deleted the nad-random-height branch January 11, 2024 11:20
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.

2 participants