Skip to content

Conversation

@jlnav
Copy link
Member

@jlnav jlnav commented Nov 21, 2024

Addresses #1468.

Basically True and False got interpreted as 0 and 1, valid integers for wait_on_start,
meaning the Executor.fail_time attribute never got used.

Now we use that attribute if we actually got True. Any other integer >1 means we wait for that time. False being 0 should simply mean we don't wait.

Thanks @cchall!

@codecov
Copy link

codecov bot commented Nov 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.93%. Comparing base (09c6f52) to head (065134f).
Report is 111 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1474      +/-   ##
===========================================
- Coverage    90.93%   90.93%   -0.01%     
===========================================
  Files           76       76              
  Lines         7679     7678       -1     
  Branches      1139     1139              
===========================================
- Hits          6983     6982       -1     
  Misses         534      534              
  Partials       162      162              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jlnav jlnav requested review from jmlarson1 and shuds13 November 22, 2024 16:07
@shuds13
Copy link
Member

shuds13 commented Nov 25, 2024

This used to be a boolean, what is the use case for waiting N seconds?

@jlnav
Copy link
Member Author

jlnav commented Nov 25, 2024

I don't exactly remember; I introduced the change in #1226.

Based on grepping through all of github and known frameworks that use libE, I can probably change the option back to boolean only.

@jlnav jlnav merged commit 2480a86 into develop Dec 3, 2024
30 checks passed
@jlnav jlnav deleted the bugfix/wait_on_start_int branch December 4, 2024 16:47
@shuds13 shuds13 mentioned this pull request Dec 6, 2024
7 tasks
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.

3 participants