Commit 1d4bc106 authored by Rohit Rao's avatar Rohit Rao Committed by Commit Bot

[ios] Disables part of URLRequestQuicTest.CancelPushIfCached_SomeCached.

An expectation at the end of this test is failing on iOS.  Removes that
expectation on iOS, similar to how it is already removed on Fuchsia.

BUG=1032568

Change-Id: I8a446c74ba18c9b580ca728900682a25c2fd2b41
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1960525
Commit-Queue: Rohit Rao <rohitrao@chromium.org>
Reviewed-by: default avatarRyan Hamilton <rch@chromium.org>
Cr-Commit-Position: refs/heads/master@{#723451}
parent 69fea40b
...@@ -413,8 +413,9 @@ TEST_P(URLRequestQuicTest, CancelPushIfCached_SomeCached) { ...@@ -413,8 +413,9 @@ TEST_P(URLRequestQuicTest, CancelPushIfCached_SomeCached) {
EXPECT_TRUE(end_entry_2->HasParams()); EXPECT_TRUE(end_entry_2->HasParams());
EXPECT_EQ(-400, GetNetErrorCodeFromParams(*end_entry_2)); EXPECT_EQ(-400, GetNetErrorCodeFromParams(*end_entry_2));
#if !defined(OS_FUCHSIA) #if !defined(OS_FUCHSIA) && !defined(OS_IOS)
// TODO(crbug.com/813631): Make this work on Fuchsia. // TODO(crbug.com/813631): Make this work on Fuchsia.
// TODO(crbug.com/1032568): Make this work on iOS.
// Verify the reset error count received on the server side. // Verify the reset error count received on the server side.
EXPECT_LE(1u, GetRstErrorCountReceivedByServer(quic::QUIC_STREAM_CANCELLED)); EXPECT_LE(1u, GetRstErrorCountReceivedByServer(quic::QUIC_STREAM_CANCELLED));
#endif #endif
...@@ -525,8 +526,9 @@ TEST_P(URLRequestQuicTest, CancelPushIfCached_AllCached) { ...@@ -525,8 +526,9 @@ TEST_P(URLRequestQuicTest, CancelPushIfCached_AllCached) {
EXPECT_FALSE(end_entry_2->HasParams()); EXPECT_FALSE(end_entry_2->HasParams());
EXPECT_FALSE(GetOptionalNetErrorCodeFromParams(*end_entry_2)); EXPECT_FALSE(GetOptionalNetErrorCodeFromParams(*end_entry_2));
#if !defined(OS_FUCHSIA) #if !defined(OS_FUCHSIA) && !defined(OS_IOS)
// TODO(crbug.com/813631): Make this work on Fuchsia. // TODO(crbug.com/813631): Make this work on Fuchsia.
// TODO(crbug.com/1032568): Make this work on iOS.
// Verify the reset error count received on the server side. // Verify the reset error count received on the server side.
EXPECT_LE(2u, GetRstErrorCountReceivedByServer(quic::QUIC_STREAM_CANCELLED)); EXPECT_LE(2u, GetRstErrorCountReceivedByServer(quic::QUIC_STREAM_CANCELLED));
#endif #endif
......
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