Disable SeqNumUnwrapper death tests to avoid breaking downstream builds.
BUG=None TBR=stefan@webrtc.org NOTRY=true Review-Url: https://codereview.webrtc.org/2985083002 Cr-Commit-Position: refs/heads/master@{#19155}
This commit is contained in:
@ -209,7 +209,9 @@ TEST_F(TestSeqNumUtil, SeqNumComparatorWithDivisor) {
|
||||
}
|
||||
}
|
||||
|
||||
TEST(SeqNumUnwrapper, NoBackWardWrap) {
|
||||
// TODO(philipel): Enable when downstream project can hande these death tests.
|
||||
|
||||
TEST(SeqNumUnwrapper, DISABLED_NoBackWardWrap) {
|
||||
SeqNumUnwrapper<uint8_t> unwrapper;
|
||||
EXPECT_EQ(0U, unwrapper.Unwrap(0));
|
||||
|
||||
@ -218,7 +220,7 @@ TEST(SeqNumUnwrapper, NoBackWardWrap) {
|
||||
ASSERT_DEATH_IF_SUPPORTED(unwrapper.Unwrap(255), "");
|
||||
}
|
||||
|
||||
TEST(SeqNumUnwrapper, NoForwardWrap) {
|
||||
TEST(SeqNumUnwrapper, DISABLED_NoForwardWrap) {
|
||||
SeqNumUnwrapper<uint32_t> unwrapper(std::numeric_limits<uint64_t>::max());
|
||||
EXPECT_EQ(std::numeric_limits<uint64_t>::max(), unwrapper.Unwrap(0));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user