Commit d74f01b7 authored by Wez's avatar Wez Committed by Commit Bot

Add frame-count assertion to VpxVideoDecoderTest to diagnose flakes.

Bug: 864458
Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
Change-Id: Ia2f18a1fc92a35d0a09cde3ad4f42e4c2e7936a4
Reviewed-on: https://chromium-review.googlesource.com/1140362Reviewed-by: default avatarDale Curtis <dalecurtis@chromium.org>
Commit-Queue: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#575718}
parent 2163df73
...@@ -332,6 +332,7 @@ TEST_F(VpxVideoDecoderTest, MemoryPoolAllowsMultipleDisplay) { ...@@ -332,6 +332,7 @@ TEST_F(VpxVideoDecoderTest, MemoryPoolAllowsMultipleDisplay) {
#if !defined(OS_ANDROID) #if !defined(OS_ANDROID)
// Android doesn't seem to expose this bug, but the rest of the test is still // Android doesn't seem to expose this bug, but the rest of the test is still
// reasonable to complete even on Android. // reasonable to complete even on Android.
ASSERT_EQ(output_frames_.size(), 26u);
EXPECT_EQ(last_frame->data(VideoFrame::kYPlane), EXPECT_EQ(last_frame->data(VideoFrame::kYPlane),
dupe_frame->data(VideoFrame::kYPlane)); dupe_frame->data(VideoFrame::kYPlane));
EXPECT_EQ(last_frame->data(VideoFrame::kUPlane), EXPECT_EQ(last_frame->data(VideoFrame::kUPlane),
......
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