← 返回首页
Move death test into a separate serially executed unit test by 9prady9 · Pull Request #3157 · arrayfire/arrayfire · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Move death test into a separate serially executed unit test#3157

Merged
9prady9 merged 1 commit into
arrayfire:masterfrom
9prady9:serealize_death_test
Jul 30, 2021
Merged

Move death test into a separate serially executed unit test#3157
9prady9 merged 1 commit into
arrayfire:masterfrom
9prady9:serealize_death_test

Conversation

Copy link
Copy Markdown
Member

9prady9 commented Jul 5, 2021

Description

Death tests are known to have issues when threads are involved. A better explanation is provided as part of google-test documentation at the below link.

https://github.com/google/googletest/blob/master/docs/advanced.md#death-tests-and-threads

Currently, array_cuda test is failing randomly on A100 test job. Here is the sample failure log https://ci.arrayfire.org/test/489455 This change is intended to fix this death-test/threads conflict.

Changes to Users

None

Checklist

  • Rebased on latest master
  • Code compiles
  • Tests pass
  • [ ] Functions added to unified API
  • [ ] Functions documented

9prady9 added this to the 3.8.1 milestone Jul 5, 2021
9prady9 force-pushed the serealize_death_test branch 2 times, most recently from fdfcbc7 to bacfa19 Compare July 6, 2021 07:18
Death tests are known to have issues when threads are involved. A better explanation is provided as part of google-test documentation at the below link. https://github.com/google/googletest/blob/master/docs/advanced.md#death-tests-and-threads
9prady9 force-pushed the serealize_death_test branch from bacfa19 to f274cd7 Compare July 30, 2021 03:46
9prady9 merged commit 6633e10 into arrayfire:master Jul 30, 2021
9prady9 deleted the serealize_death_test branch July 30, 2021 08:03
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Footer

© 2026 GitHub, Inc.