Index: runtime/vm/profiler_test.cc |
diff --git a/runtime/vm/profiler_test.cc b/runtime/vm/profiler_test.cc |
index 6d63bc19b99f0c052a76f557383a96ed922e6e48..76f4678bf33cf5d77dc94cfe429515b2260cd221 100644 |
--- a/runtime/vm/profiler_test.cc |
+++ b/runtime/vm/profiler_test.cc |
@@ -2365,6 +2365,8 @@ TEST_CASE(Profiler_GetSourceReport) { |
// Disable profiling for this thread. |
DisableThreadInterruptsScope dtis(Thread::Current()); |
+ DisableBackgroundCompilationScope dbcs; |
+ |
SampleBuffer* sample_buffer = Profiler::sample_buffer(); |
EXPECT(sample_buffer != NULL); |