Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Side by Side Diff: webrtc/modules/video_coding/frame_buffer2_unittest.cc

Issue 2655173004: Disable flaky test TestFrameBuffer2.OneUnorderedSuperFrame. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 218
219 InsertFrame(pid, 0, ts, false); 219 InsertFrame(pid, 0, ts, false);
220 ExtractFrame(); 220 ExtractFrame();
221 InsertFrame(pid, 1, ts, true); 221 InsertFrame(pid, 1, ts, true);
222 ExtractFrame(); 222 ExtractFrame();
223 223
224 CheckFrame(0, pid, 0); 224 CheckFrame(0, pid, 0);
225 CheckFrame(1, pid, 1); 225 CheckFrame(1, pid, 1);
226 } 226 }
227 227
228 TEST_F(TestFrameBuffer2, OneUnorderedSuperFrame) { 228 // Flaky test, see bugs.webrtc.org/7068.
229 TEST_F(TestFrameBuffer2, DISABLED_OneUnorderedSuperFrame) {
229 uint16_t pid = Rand(); 230 uint16_t pid = Rand();
230 uint32_t ts = Rand(); 231 uint32_t ts = Rand();
231 232
232 ExtractFrame(50); 233 ExtractFrame(50);
233 InsertFrame(pid, 1, ts, true); 234 InsertFrame(pid, 1, ts, true);
234 InsertFrame(pid, 0, ts, false); 235 InsertFrame(pid, 0, ts, false);
235 ExtractFrame(); 236 ExtractFrame();
236 237
237 CheckFrame(0, pid, 0); 238 CheckFrame(0, pid, 0);
238 CheckFrame(1, pid, 1); 239 CheckFrame(1, pid, 1);
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 // Jump back in pid but increase ts. 432 // Jump back in pid but increase ts.
432 EXPECT_EQ(pid - 1, InsertFrame(pid - 1, 0, ts + 2, false)); 433 EXPECT_EQ(pid - 1, InsertFrame(pid - 1, 0, ts + 2, false));
433 ExtractFrame(); 434 ExtractFrame();
434 ExtractFrame(); 435 ExtractFrame();
435 CheckFrame(1, pid - 1, 0); 436 CheckFrame(1, pid - 1, 0);
436 CheckNoFrame(2); 437 CheckNoFrame(2);
437 } 438 }
438 439
439 } // namespace video_coding 440 } // namespace video_coding
440 } // namespace webrtc 441 } // namespace webrtc
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698