-
Notifications
You must be signed in to change notification settings - Fork 269
Tests show as passing even if they do not complete before the stop time #902
Copy link
Copy link
Closed
Labels
Component: TestingUnit and integration tests and frameworksUnit and integration tests and frameworksType: BugError or flaw producing unexpected resultsError or flaw producing unexpected results
Milestone
Description
Describe the issue
If the test takes longer than the stop time, or if the test gets stuck, Shadow will eventually kill the process but still return 0 as the exit code. This causes ctest to think that the test passed, even though it didn't complete.
To Reproduce
Run a test with a blocking call and a timeout. For example, run a test that calls sleep(10); but with <kill time="5"/>.
Shadow (please complete the following information):
- Version: post the output of
shadow --version
The dev branch as of at least17b9e45430c06.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Component: TestingUnit and integration tests and frameworksUnit and integration tests and frameworksType: BugError or flaw producing unexpected resultsError or flaw producing unexpected results