Commit 0e6263ec authored by Camillo Bruni's avatar Camillo Bruni Committed by V8 LUCI CQ

[test] Skip RuntimeCallStatsTest.GarbageCollection for gc stress tests

Bug: v8:11820
Change-Id: Iec8c75737648ca239363069511fd7783c26a5d64
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2928497Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#74856}
parent ca1a2cfb
...@@ -623,11 +623,13 @@ TEST_F(RuntimeCallStatsTest, ApiGetter) { ...@@ -623,11 +623,13 @@ TEST_F(RuntimeCallStatsTest, ApiGetter) {
} }
TEST_F(RuntimeCallStatsTest, GarbageCollection) { TEST_F(RuntimeCallStatsTest, GarbageCollection) {
if (FLAG_stress_incremental_marking) return;
FLAG_expose_gc = true; FLAG_expose_gc = true;
// Disable concurrent GC threads because otherwise they may continue // Disable concurrent GC threads because otherwise they may continue
// running after this test completes and race with is_runtime_stats_enabled() // running after this test completes and race with is_runtime_stats_enabled()
// updates. // updates.
FLAG_single_threaded_gc = true; FLAG_single_threaded_gc = true;
FlagList::EnforceFlagImplications(); FlagList::EnforceFlagImplications();
v8::Isolate* isolate = v8_isolate(); v8::Isolate* isolate = v8_isolate();
RunJS( RunJS(
......
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