Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
None
-
StorEng - Refinement Pipeline
Description
Summary
schema_abort test hangs after adding a long sleep to the parent process. This lets the child process run longer. Each iteration crashes with a known issue, but eventually, it gets stuck in what looks like a deadlock.
diff --git a/test/csuite/schema_abort/main.c b/test/csuite/schema_abort/main.c
|
index 88ea6e3a3..a85c60c32 100644 |
--- a/test/csuite/schema_abort/main.c
|
+++ b/test/csuite/schema_abort/main.c
|
@@ -1114,6 +1114,7 @@ main(int argc, char *argv[]) |
while (stat(statname, &sb) != 0) |
testutil_sleep_wait(1, pid); |
sleep(timeout);
|
+ sleep(100000); |
sa.sa_handler = SIG_DFL;
|
testutil_assert_errno(sigaction(SIGCHLD, &sa, NULL) == 0); |
To reproduce the issue just run the following command in a loop. The script will hang after ~30 iterations.
./test_schema_abort -B
|