[test] Skip RuntimeCallStatsTest.GarbageCollection for gc stress tests

Bug: v8:11820
Change-Id: Iec8c75737648ca239363069511fd7783c26a5d64
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2928497
Reviewed-by: Marja Hölttä <marja@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#74856}
This commit is contained in:
Camillo Bruni 2021-05-31 10:50:53 +02:00 committed by V8 LUCI CQ
parent ca1a2cfb39
commit 0e6263ec22

View File

@ -623,11 +623,13 @@ TEST_F(RuntimeCallStatsTest, ApiGetter) {
}
TEST_F(RuntimeCallStatsTest, GarbageCollection) {
if (FLAG_stress_incremental_marking) return;
FLAG_expose_gc = true;
// Disable concurrent GC threads because otherwise they may continue
// running after this test completes and race with is_runtime_stats_enabled()
// updates.
FLAG_single_threaded_gc = true;
FlagList::EnforceFlagImplications();
v8::Isolate* isolate = v8_isolate();
RunJS(