Skip to content

Commit

Permalink
curvefs/test: fix the lease executor test fails probabilistically
Browse files Browse the repository at this point in the history
  • Loading branch information
ilixiaocui committed Jun 15, 2022
1 parent d3c6e68 commit eee0478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion curvefs/test/client/lease/lease_executor_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ TEST_F(LeaseExecutorTest, test_start_stop) {
.WillRepeatedly(
DoAll(SetArgPointee<1>(txIds), Return(FSStatusCode::OK)));
EXPECT_CALL(*metaCache_, SetTxId(1, 2))
.Times(AtLeast(opt_.refreshTimesPerLease));
.Times(AtLeast(1));

// lease executor start
LeaseExecutor exec(opt_, metaCache_, mdsCli_);
Expand Down

0 comments on commit eee0478

Please sign in to comment.