[block_t] a superblock_zero test was mistakenly calling plain write_lock.
This commit is contained in:
parent
1fe0df9f1a
commit
a0f53f47aa
@ -392,13 +392,13 @@ TEST_F(ValidatorTests, validator_can_be_changed_by_superblock_zero)
|
|||||||
{
|
{
|
||||||
expect_no_check(vmock);
|
expect_no_check(vmock);
|
||||||
expect_prepare(vmock);
|
expect_prepare(vmock);
|
||||||
bm4096::write_ref wr = bm->write_lock(0, vmock);
|
bm4096::write_ref wr = bm->superblock_zero(0, vmock);
|
||||||
}
|
}
|
||||||
|
|
||||||
expect_no_check(vmock2);
|
expect_no_check(vmock2);
|
||||||
expect_prepare(vmock2);
|
expect_prepare(vmock2);
|
||||||
|
|
||||||
bm4096::write_ref wr = bm->write_lock(0, vmock2);
|
bm4096::write_ref wr = bm->superblock_zero(0, vmock2);
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------
|
//----------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user