Commit d6fc0913 authored by Noel Gordon's avatar Noel Gordon Committed by Commit Bot

[directorytree] Disable directory tree context menu zip test in DEBUG

CL:1535465 did not really disable this test in DEBUG, it still runs on
CQ bots in DEBUG where it hits the bot time-out limit often.

Disabling a test in DEBUG is a little tricky: use !defined(NDEBUG) !!

Tbr: adanilo@
Bug: 944697, 936429
Change-Id: I5e6311e91d630d0ec999b624b282dcaf16ff5bfd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1724293Reviewed-by: default avatarNoel Gordon <noel@chromium.org>
Commit-Queue: Noel Gordon <noel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#682170}
parent f8fdd6ce
...@@ -609,8 +609,9 @@ WRAPPED_INSTANTIATE_TEST_SUITE_P( ...@@ -609,8 +609,9 @@ WRAPPED_INSTANTIATE_TEST_SUITE_P(
TestCase("dirCreateWithKeyboard").EnableMyFilesVolume(), TestCase("dirCreateWithKeyboard").EnableMyFilesVolume(),
TestCase("dirCreateWithoutChangingCurrent").EnableMyFilesVolume(), TestCase("dirCreateWithoutChangingCurrent").EnableMyFilesVolume(),
TestCase("dirCreateWithoutChangingCurrent"), TestCase("dirCreateWithoutChangingCurrent"),
#if !(defined(ADDRESS_SANITIZER) || defined(DEBUG)) #if !(defined(ADDRESS_SANITIZER) || !defined(NDEBUG))
// Zip tests times out too often on ASAN and DEBUG. // Zip tests times out too often on ASAN and DEBUG. crbug.com/936429
// and crbug.com/944697
ZipCase("dirContextMenuZip"), ZipCase("dirContextMenuZip"),
#endif #endif
TestCase("dirContextMenuRecent"), TestCase("dirContextMenuRecent"),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment