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

[Heartbeat] Use timer.reset now that golang has been updated #29729

Merged
merged 1 commit into from
Jan 7, 2022

Conversation

andrewvc
Copy link
Contributor

@andrewvc andrewvc commented Jan 6, 2022

Undoes https://github.com/elastic/beats/pull/27006/files (while preserving the new test), and also cleaning up the syntax using time.Until.

The tests introduced in the previous PR should confirm this is now good. There is no adjustment to the CHANGELOG since there is no user-facing effect.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Undoes https://github.com/elastic/beats/pull/27006/files (while preserving the new test), and also cleaning up the syntax using `time.Until`.

Since the The golang bug I reported in golang/go#47329 has been fixed since somewhere in go 1.16.x (it's hard to track the exact version). This should be backported to 7.16.x since that already uses go 1.17.x and is safe.
@andrewvc andrewvc added enhancement Heartbeat Team:obs-ds-hosted-services Label for the Observability Hosted Services team technical debt backport-v8.0.0 Automated backport with mergify backport-v7.16.0 Automated backport with mergify backport-7.17 Automated backport to the 7.17 branch with mergify labels Jan 6, 2022
@andrewvc andrewvc self-assigned this Jan 6, 2022
@andrewvc andrewvc requested a review from a team as a code owner January 6, 2022 21:24
@elasticmachine
Copy link
Collaborator

Pinging @elastic/uptime (Team:Uptime)

@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Jan 6, 2022
@andrewvc andrewvc removed the backport-v7.16.0 Automated backport with mergify label Jan 6, 2022
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2022-01-06T21:24:36.980+0000

  • Duration: 74 min 42 sec

  • Commit: da362ae

Test stats 🧪

Test Results
Failed 0
Passed 3277
Skipped 71
Total 3348

💚 Flaky test report

Tests succeeded.

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • /package : Generate the packages and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

Copy link
Member

@vigneshshanmugam vigneshshanmugam left a comment

Choose a reason for hiding this comment

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

LGTM

@andrewvc andrewvc merged commit 7b095da into elastic:master Jan 7, 2022
mergify bot pushed a commit that referenced this pull request Jan 7, 2022
Undoes https://github.com/elastic/beats/pull/27006/files (while preserving the new test), and also cleaning up the syntax using `time.Until`.

Since the The golang bug I reported in golang/go#47329 has been fixed since somewhere in go 1.16.x (it's hard to track the exact version). This should be backported to 7.16.x since that already uses go 1.17.x and is safe.

(cherry picked from commit 7b095da)
mergify bot pushed a commit that referenced this pull request Jan 7, 2022
Undoes https://github.com/elastic/beats/pull/27006/files (while preserving the new test), and also cleaning up the syntax using `time.Until`.

Since the The golang bug I reported in golang/go#47329 has been fixed since somewhere in go 1.16.x (it's hard to track the exact version). This should be backported to 7.16.x since that already uses go 1.17.x and is safe.

(cherry picked from commit 7b095da)
andrewvc added a commit that referenced this pull request Jan 14, 2022
…#29733)

Undoes https://github.com/elastic/beats/pull/27006/files (while preserving the new test), and also cleaning up the syntax using `time.Until`.

Since the The golang bug I reported in golang/go#47329 has been fixed since somewhere in go 1.16.x (it's hard to track the exact version). This should be backported to 7.16.x since that already uses go 1.17.x and is safe.

(cherry picked from commit 7b095da)

Co-authored-by: Andrew Cholakian <[email protected]>
@andrewvc andrewvc added v8.1.0 v7.17.0 and removed backport-v8.0.0 Automated backport with mergify labels Jan 14, 2022
@andrewvc andrewvc deleted the reset-tq branch February 9, 2022 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-7.17 Automated backport to the 7.17 branch with mergify enhancement Heartbeat Team:obs-ds-hosted-services Label for the Observability Hosted Services team technical debt v7.17.0 v8.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants