Skip to content

Commit df06b90

Browse files
authored
Merge pull request ceph#59531 from nbalacha/wip-nbalacha-unit-test-fix
test/rbd-mirror: fix BootstrapReplayer tests that use expect_is_linked() Reviewed-by: Ilya Dryomov <[email protected]>
2 parents 888c323 + 621e5ce commit df06b90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/rbd_mirror/image_replayer/test_mock_BootstrapRequest.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ class TestMockImageReplayerBootstrapRequest : public TestMockFixture {
364364

365365
void expect_is_linked(MockStateBuilder& mock_state_builder, bool is_linked) {
366366
EXPECT_CALL(mock_state_builder, is_linked())
367-
.WillOnce(Return(is_linked));
367+
.WillRepeatedly(Return(is_linked));
368368
}
369369

370370
void expect_is_disconnected(MockStateBuilder& mock_state_builder,

0 commit comments

Comments
 (0)