Repository navigation
Add deterministic signal tests for various scenarios - #658
Conversation
- Implemented tests for signal handling with fork, threads, longjmp, and signal masks. - Added tests to verify behavior of blocked signals, recursive signal handling, and signal action flags. - Removed non-deterministic signal tests to streamline the test suite and ensure consistent behavior. These changes enhance the robustness of the signal handling tests by focusing on deterministic outcomes.
End-to-End Test ReportTest PreviewTest Report Deterministic TestsSummary
Test Results by Category
Non Deterministic TestsSummary
Test Results by Category
Fail TestsSummary
Test Results by Category
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
End-to-End Test ReportTest PreviewTest Report Deterministic TestsSummary
Test Results by Category
Non Deterministic TestsSummary
Test Results by Category
Fail TestsSummary
Test Results by Category
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
End-to-End Test ReportTest PreviewTest Report Deterministic TestsSummary
Test Results by Category
Non Deterministic TestsSummary
Test Results by Category
Fail TestsSummary
Test Results by Category
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- Moved 'tls_test.c' from non-deterministic to deterministic tests. - Removed 'dnstest.c', 'getifaddrs.c', and 'tls_test.c' files from the unit tests to streamline the test suite.
End-to-End Test ReportTest PreviewTest Report Deterministic TestsSummary
Test Results by Category
Non Deterministic TestsSummary
Fail TestsSummary
Test Results by Category
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- Added 'signal_sa_mask.c', 'getifaddrs.c', and 'signal_int_thread.c' to the skip list for deterministic tests. - Updated the skip_test_cases.txt file to reflect these changes.
End-to-End Test ReportTest PreviewTest Report Deterministic TestsSummary
Test Results by Category
Non Deterministic TestsSummary
Fail TestsSummary
Test Results by Category
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
* Add deterministic signal tests for various scenarios - Implemented tests for signal handling with fork, threads, longjmp, and signal masks. - Added tests to verify behavior of blocked signals, recursive signal handling, and signal action flags. - Removed non-deterministic signal tests to streamline the test suite and ensure consistent behavior. These changes enhance the robustness of the signal handling tests by focusing on deterministic outcomes. * update skip test file * Refactor test cases and update skip list - Moved 'tls_test.c' from non-deterministic to deterministic tests. - Removed 'dnstest.c', 'getifaddrs.c', and 'tls_test.c' files from the unit tests to streamline the test suite. * Add additional test cases to skip list - Added 'signal_sa_mask.c', 'getifaddrs.c', and 'signal_int_thread.c' to the skip list for deterministic tests. - Updated the skip_test_cases.txt file to reflect these changes.
* Add deterministic signal tests for various scenarios - Implemented tests for signal handling with fork, threads, longjmp, and signal masks. - Added tests to verify behavior of blocked signals, recursive signal handling, and signal action flags. - Removed non-deterministic signal tests to streamline the test suite and ensure consistent behavior. These changes enhance the robustness of the signal handling tests by focusing on deterministic outcomes. * update skip test file * Refactor test cases and update skip list - Moved 'tls_test.c' from non-deterministic to deterministic tests. - Removed 'dnstest.c', 'getifaddrs.c', and 'tls_test.c' files from the unit tests to streamline the test suite. * Add additional test cases to skip list - Added 'signal_sa_mask.c', 'getifaddrs.c', and 'signal_int_thread.c' to the skip list for deterministic tests. - Updated the skip_test_cases.txt file to reflect these changes.
Purpose
Convert signal-related tests from non-deterministic, print-based behavior
to deterministic, assertion-driven tests.
The following signal tests were rewritten to:
Converted tests were moved from non-deterministic to deterministic:
This reduces CI flakiness and improves correctness coverage as part of
issue #603 (Deprecate non-deterministic tests).