Skip to content

avoid calling time.Now() in the MTU discoverer#4906

Merged
marten-seemann merged 1 commit into
masterfrom
mut-discover-no-time-now
Jan 21, 2025
Merged

avoid calling time.Now() in the MTU discoverer#4906
marten-seemann merged 1 commit into
masterfrom
mut-discover-no-time-now

Conversation

@marten-seemann

Copy link
Copy Markdown
Member

This will be more correct, potentially make the tests less flaky, and make it easier to migrate these tests away from Ginkgo.

@marten-seemann marten-seemann added this to the v0.49 milestone Jan 21, 2025
@marten-seemann marten-seemann changed the title avoid calling time.Now() in the mtu discoverer avoid calling time.Now() in the MTU discoverer Jan 21, 2025
@codecov

codecov Bot commented Jan 21, 2025

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.

Project coverage is 83.55%. Comparing base (5794afb) to head (1a50f1d).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
connection.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4906      +/-   ##
==========================================
+ Coverage   83.54%   83.55%   +0.02%     
==========================================
  Files         152      152              
  Lines       16247    16247              
==========================================
+ Hits        13572    13575       +3     
+ Misses       2147     2143       -4     
- Partials      528      529       +1     

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

@marten-seemann marten-seemann merged commit fba6ea9 into master Jan 21, 2025
@marten-seemann marten-seemann deleted the mut-discover-no-time-now branch January 21, 2025 12:19
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.

1 participant