Skip to content

Conversation

@efd6
Copy link
Contributor

@efd6 efd6 commented Jun 6, 2022

This allows waits to hear signals and uses this capacity in deferred clean-up waits.

Please take a look.

@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-06-06T00:42:32.693+0000

  • Duration: 33 min 31 sec

Test stats 🧪

Test Results
Failed 0
Passed 720
Skipped 0
Total 720

🤖 GitHub comments

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

  • /test : Re-trigger the build.

@elasticmachine
Copy link
Collaborator

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (30/30) 💚
Files 64.22% (70/109) 👍
Classes 58.278% (88/151) 👍
Methods 47.421% (285/601) 👍
Lines 32.348% (2616/8087) 👍
Conditionals 100.0% (0/0) 💚

if r.options.DeferCleanup > 0 {
logger.Debugf("waiting for %s before tearing down...", r.options.DeferCleanup)
time.Sleep(r.options.DeferCleanup)
signal.Sleep(r.options.DeferCleanup)
Copy link
Contributor

Choose a reason for hiding this comment

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

Ok, so I see that this is enabled only for options.DeferCleanup? If so, then I guess it's safe to merge.

@efd6 efd6 merged commit 0422887 into elastic:main Jun 6, 2022
@efd6 efd6 deleted the cancellable-wait branch June 6, 2022 06:51
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