Skip to content

Commit

Permalink
Disable now invalid tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jellefoks committed Dec 18, 2024
1 parent 10f027c commit 1642d77
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,9 @@ TEST_F(QuicReceivedPacketManagerTest, AckSentEveryNthPacket) {
}
}

TEST_F(QuicReceivedPacketManagerTest, AckDecimationReducesAcks) {
// Note: Disabled in Cobalt because this test assumes
// kMaxRetransmittablePacketsBeforeAck = 10
TEST_F(QuicReceivedPacketManagerTest, DISABLED_AckDecimationReducesAcks) {
EXPECT_FALSE(HasPendingAck());

// Start ack decimation from 10th packet.
Expand Down Expand Up @@ -387,7 +389,9 @@ TEST_F(QuicReceivedPacketManagerTest, AckDecimationReducesAcks) {
CheckAckTimeout(clock_.ApproximateNow());
}

TEST_F(QuicReceivedPacketManagerTest, SendDelayedAckDecimation) {
// Note: Disabled in Cobalt because this test assumes
// kMaxRetransmittablePacketsBeforeAck = 10
TEST_F(QuicReceivedPacketManagerTest, DISABLED_SendDelayedAckDecimation) {
EXPECT_FALSE(HasPendingAck());
// The ack time should be based on min_rtt * 1/4, since it's less than the
// default delayed ack time.
Expand Down Expand Up @@ -418,7 +422,9 @@ TEST_F(QuicReceivedPacketManagerTest, SendDelayedAckDecimation) {
CheckAckTimeout(clock_.ApproximateNow());
}

TEST_F(QuicReceivedPacketManagerTest, SendDelayedAckDecimationMin1ms) {
// Note: Disabled in Cobalt because this test assumes
// kMaxRetransmittablePacketsBeforeAck = 10
TEST_F(QuicReceivedPacketManagerTest, DISABLED_SendDelayedAckDecimationMin1ms) {
EXPECT_FALSE(HasPendingAck());
// Seed the min_rtt with a kAlarmGranularity signal.
rtt_stats_.UpdateRtt(kAlarmGranularity, QuicTime::Delta::Zero(),
Expand Down Expand Up @@ -451,8 +457,10 @@ TEST_F(QuicReceivedPacketManagerTest, SendDelayedAckDecimationMin1ms) {
CheckAckTimeout(clock_.ApproximateNow());
}

// Note: Disabled in Cobalt because this test assumes
// kMaxRetransmittablePacketsBeforeAck = 10
TEST_F(QuicReceivedPacketManagerTest,
SendDelayedAckDecimationUnlimitedAggregation) {
DISABLED_SendDelayedAckDecimationUnlimitedAggregation) {
EXPECT_FALSE(HasPendingAck());
QuicConfig config;
QuicTagVector connection_options;
Expand Down Expand Up @@ -491,7 +499,10 @@ TEST_F(QuicReceivedPacketManagerTest,
CheckAckTimeout(ack_time);
}

TEST_F(QuicReceivedPacketManagerTest, SendDelayedAckDecimationEighthRtt) {
// Note: Disabled in Cobalt because this test assumes
// kMaxRetransmittablePacketsBeforeAck = 10
TEST_F(QuicReceivedPacketManagerTest,
DISABLED_SendDelayedAckDecimationEighthRtt) {
EXPECT_FALSE(HasPendingAck());
QuicReceivedPacketManagerPeer::SetAckDecimationDelay(&received_manager_,
0.125);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,9 @@ TEST_F(UberReceivedPacketManagerTest, AckSentEveryNthPacket) {
}
}

TEST_F(UberReceivedPacketManagerTest, AckDecimationReducesAcks) {
// Note: Disabled in Cobalt because this test assumes
// kMaxRetransmittablePacketsBeforeAck = 10
TEST_F(UberReceivedPacketManagerTest, DISABLED_AckDecimationReducesAcks) {
EXPECT_FALSE(HasPendingAck());

// Start ack decimation from 10th packet.
Expand Down Expand Up @@ -345,7 +347,9 @@ TEST_F(UberReceivedPacketManagerTest, AckDecimationReducesAcks) {
CheckAckTimeout(clock_.ApproximateNow());
}

TEST_F(UberReceivedPacketManagerTest, SendDelayedAckDecimation) {
// Note: Disabled in Cobalt because this test assumes
// kMaxRetransmittablePacketsBeforeAck = 10
TEST_F(UberReceivedPacketManagerTest, DISABLED_SendDelayedAckDecimation) {
EXPECT_FALSE(HasPendingAck());
// The ack time should be based on min_rtt * 1/4, since it's less than the
// default delayed ack time.
Expand Down Expand Up @@ -416,7 +420,10 @@ TEST_F(UberReceivedPacketManagerTest,
CheckAckTimeout(ack_time);
}

TEST_F(UberReceivedPacketManagerTest, SendDelayedAckDecimationEighthRtt) {
// Note: Disabled in Cobalt because this test assumes
// kMaxRetransmittablePacketsBeforeAck = 10
TEST_F(UberReceivedPacketManagerTest,
DISABLED_SendDelayedAckDecimationEighthRtt) {
EXPECT_FALSE(HasPendingAck());
UberReceivedPacketManagerPeer::SetAckDecimationDelay(manager_.get(), 0.125);

Expand Down

0 comments on commit 1642d77

Please sign in to comment.