Skip to content

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

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

Merged
merged 1 commit into from
Jul 30, 2021

Conversation

9prady9
Copy link
Member

@9prady9 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 9prady9 added this to the 3.8.1 milestone Jul 5, 2021
@9prady9 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 9prady9 force-pushed the serealize_death_test branch from bacfa19 to f274cd7 Compare July 30, 2021 03:46
@9prady9 9prady9 merged commit 6633e10 into arrayfire:master Jul 30, 2021
@9prady9 9prady9 deleted the serealize_death_test branch July 30, 2021 08:03
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