Title: C# unit test TestAppDomainProcessExitEvenHandlerNotLeaking is flaky · Issue #10813 · PowerShell/PowerShell · GitHub
Open Graph Title: C# unit test TestAppDomainProcessExitEvenHandlerNotLeaking is flaky · Issue #10813 · PowerShell/PowerShell
X Title: C# unit test TestAppDomainProcessExitEvenHandlerNotLeaking is flaky · Issue #10813 · PowerShell/PowerShell
Description: Steps to reproduce The unit test TestAppDomainProcessExitEvenHandlerNotLeaking is flaky. Currently is the top 1 faling test in the last 30 days. Failed 20 times out of 87 runs (23% failure rate). And all failures have the same error mess...
Open Graph Description: Steps to reproduce The unit test TestAppDomainProcessExitEvenHandlerNotLeaking is flaky. Currently is the top 1 faling test in the last 30 days. Failed 20 times out of 87 runs (23% failure rate). A...
X Description: Steps to reproduce The unit test TestAppDomainProcessExitEvenHandlerNotLeaking is flaky. Currently is the top 1 faling test in the last 30 days. Failed 20 times out of 87 runs (23% failure rate). A...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/10813
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"C# unit test TestAppDomainProcessExitEvenHandlerNotLeaking is flaky","articleBody":"\u003c!--\r\n\r\nFor Windows PowerShell 5.1 issues, suggestions, or feature requests please use the following link instead:\r\nWindows PowerShell [UserVoice](https://windowsserver.uservoice.com/forums/301869-powershell)\r\n\r\nThis repository is **ONLY** for PowerShell Core 6 issues.\r\n\r\n- Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\r\n- Search the existing issues.\r\n- Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- Refer to the [known issues](https://docs.microsoft.com/powershell/scripting/whats-new/known-issues-ps6?view=powershell-6).\r\n\r\n-->\r\n\r\n# Steps to reproduce\r\n\r\n- The unit test `TestAppDomainProcessExitEvenHandlerNotLeaking` is flaky.\r\n- Currently is the top 1 faling test in the last 30 days. Failed 20 times out of 87 runs (23% failure rate).\r\n- And all failures have the same error message and stack trace.\r\n- Seems to have been introduced 10/10 in #10768.\r\n\r\n### Error Message\r\n```\r\nAssert.DoesNotContain() Failure\r\nFound: (filter expression)\r\nIn value: Delegate[] [EventHandler { Method = Void DisposeOnShutdown(System.Object, System.EventArgs), Target = null }, EventHandler { Method = Void CurrentDomain_ProcessExit(System.Object, System.EventArgs), Target = null }]\r\n```\r\n\r\n### Stack Trace\r\n```\r\nat PSTests.Sequential.RunspaceTests.TestAppDomainProcessExitEvenHandlerNotLeaking() in D:\\a\\1\\s\\test\\xUnit\\csharp\\test_Runspace.cs:line 127\r\n```\r\n\r\n[PowerShell-CI-windows - Test failure report](https://powershell.visualstudio.com/PowerShell/_test/analytics?definitionId=19&contextType=build)\r\n\r\n\r\n\r\n# Expected behavior\r\n\r\nTest results should be consistent.\r\n\r\n# Actual behavior\r\n\r\nTest is flaky.\r\n\r\n# Environment data\r\n\r\nUnit tests must be executed in a windows platform.\r\n","author":{"url":"https://github.com/mdalepiane","@type":"Person","name":"mdalepiane"},"datePublished":"2019-10-17T05:37:45Z","url":"https://github.com/PowerShell/PowerShell/issues/10813"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ed76df45-6d77-5807-d2ac-4dbb1016b42b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DB44:27FCA3:26B30F9:35D9E96:6AFD44C8 |
| html-safe-nonce | 8399918cbddf2a239fac5cb8042bb868796f4219494555184c0c6ddfc3b666d5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjQ0OjI3RkNBMzoyNkIzMEY5OjM1RDlFOTY6NkFGRDQ0QzgiLCJ2aXNpdG9yX2lkIjoiNTE1NDY0MDE0NzgwNjc2NjI4MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8e4245ae17d6b8e244599df4ada673f77362921c82610c144cfc781cfd78cba2 |
| hovercard-subject-tag | issue:508245778 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/10813/issue_layout |
| twitter:image | https://opengraph.githubassets.com/410a113f69ea68ca2d50062e448bc1d015995aa8e25f8d12f6bd4ea8d4a2cbbb/PowerShell/PowerShell/issues/10813 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/410a113f69ea68ca2d50062e448bc1d015995aa8e25f8d12f6bd4ea8d4a2cbbb/PowerShell/PowerShell/issues/10813 |
| og:image:alt | Steps to reproduce The unit test TestAppDomainProcessExitEvenHandlerNotLeaking is flaky. Currently is the top 1 faling test in the last 30 days. Failed 20 times out of 87 runs (23% failure rate). A... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mdalepiane |
| hostname | github.com |
| expected-hostname | github.com |
| None | bdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 556dd37bb0aceffb25724e151b5d858b3265b40b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width