Skip to content

Convert all tests to use TIMED_TEST_SUITE_INITIALIZE/CLEANUP#583

Open
parth21999 wants to merge 2 commits intomasterfrom
paaggarwal/convert-to-timed-test-suite
Open

Convert all tests to use TIMED_TEST_SUITE_INITIALIZE/CLEANUP#583
parth21999 wants to merge 2 commits intomasterfrom
paaggarwal/convert-to-timed-test-suite

Conversation

@parth21999
Copy link
Member

Summary

Converts all 65 test files from TEST_SUITE_INITIALIZE/TEST_SUITE_CLEANUP to TIMED_TEST_SUITE_INITIALIZE/TIMED_TEST_SUITE_CLEANUP. Adds c_pal/timed_test_suite.h to 49 PCH files and 17 integration test files.

Why

The timed versions inject a process watchdog that terminates test suites that hang, preventing CI pipelines from stalling indefinitely. The raw TEST_SUITE_INITIALIZE/CLEANUP macros are being removed from testrunnerswitcher.

Prerequisites

@parth21999
Copy link
Member Author

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@parth21999
Copy link
Member Author

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@parth21999 parth21999 force-pushed the paaggarwal/convert-to-timed-test-suite branch from 5ae2b01 to 4e0b5f9 Compare March 2, 2026 22:59
@parth21999
Copy link
Member Author

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Tests using TIMED_TEST_SUITE_INITIALIZE need to link against c_pal
for the process_watchdog_init/deinit implementations.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@parth21999
Copy link
Member Author

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@parth21999
Copy link
Member Author

/AzurePipelines run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant