Commit d6072921 authored by Alexei Filippov's avatar Alexei Filippov Committed by Commit Bot

Fix http/tests/devtools/oopif/oopif-performance-cpu-profiles.js" is flaky

Make it sorted for real. Fixes one source of flakiness.

BUG=848398

Change-Id: I14e40f509e6363e06eeb5ed21bc239b59269bff8
Reviewed-on: https://chromium-review.googlesource.com/1095479Reviewed-by: default avatarDmitry Gozman <dgozman@chromium.org>
Reviewed-by: default avatarArthur Sonzogni <arthursonzogni@chromium.org>
Commit-Queue: Alexei Filippov <alph@chromium.org>
Cr-Commit-Position: refs/heads/master@{#567005}
parent c66f9a0f
......@@ -12,7 +12,7 @@
await TestRunner.navigatePromise('resources/page.html');
await PerformanceTestRunner.stopTimeline();
for (const track of PerformanceTestRunner.timelineModel().tracks().sort((a, b) => a.url > b.url)) {
for (const track of PerformanceTestRunner.timelineModel().tracks().sort((a, b) => a.url.compareTo(b.url))) {
if (track.type !== TimelineModel.TimelineModel.TrackType.MainThread)
continue;
TestRunner.addResult(`name: ${track.name}`);
......
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