Fix failure in CowTest#InvalidMergeOrderTest.
This is failing on hwasan builds due to a typo in the test method. The actual writer logic is unaffected. Bug: 377298650 Test: valgrind cow_api_test Change-Id: I5c3f32ae57bf90b9fd29c7446bf34bdcb004328c
This commit is contained in:
parent
de8fa774c3
commit
9d06208826
1 changed files with 1 additions and 1 deletions
|
|
@ -1487,7 +1487,7 @@ TEST_F(CowTest, InvalidMergeOrderTest) {
|
|||
writer = std::make_unique<CowWriterV2>(options, GetCowFd());
|
||||
ASSERT_TRUE(writer->Initialize());
|
||||
ASSERT_TRUE(writer->AddCopy(2, 1));
|
||||
ASSERT_TRUE(writer->AddXorBlocks(3, &data, data.size(), 1, 1));
|
||||
ASSERT_TRUE(writer->AddXorBlocks(3, data.data(), data.size(), 1, 1));
|
||||
ASSERT_TRUE(writer->Finalize());
|
||||
ASSERT_TRUE(reader.Parse(cow_->fd));
|
||||
ASSERT_FALSE(reader.VerifyMergeOps());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue