0

[PDF Ink Signatures] Disable PdfInkUndoRedoModelTest.Stress in debug builds

The test is timing out there. Disable and add a TODO to tweak and
re-enable.

Bug: 335521182
Change-Id: I40e00659f5e253667242671bdf5dee32ca5a0f84
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5877316
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Reviewed-by: Jeremie Boulic <jboulic@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1357968}
This commit is contained in:
Lei Zhang
2024-09-20 01:38:52 +00:00
committed by Chromium LUCI CQ
parent 556a896ee5
commit 8ce6e276b3

@ -329,7 +329,14 @@ TEST(PdfInkUndoRedoModelTest, DrawDrawUndoEraseUndo) {
ElementsAreArray({5}));
}
TEST(PdfInkUndoRedoModelTest, Stress) {
// TODO(crbug.com/335521182): Re-enable the test for debug builds with a smaller
// `kCycles` count.
#if defined(NDEBUG)
#define MAYBE_Stress Stress
#else
#define MAYBE_Stress DISABLED_Stress
#endif
TEST(PdfInkUndoRedoModelTest, MAYBE_Stress) {
constexpr size_t kCycles = 10000;
PdfInkUndoRedoModel undo_redo;
size_t id = 0;