Skip to content

Commit 768df3c

Browse files
committed
Add comments
Signed-off-by: haojinming <jinming.hao@pingcap.com>
1 parent 906b29c commit 768df3c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/failpoint_tests.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ async fn txn_optimistic_heartbeat() -> Result<()> {
2727
let key2 = "key2".to_owned();
2828
let client = TransactionClient::new(pd_addrs(), None).await?;
2929

30+
// CheckLevel::Panic makes the case unstable, change to Warn level for now.
31+
// See https://github.com/tikv/client-rust/issues/389
3032
let mut heartbeat_txn = client
3133
.begin_with_options(
3234
TransactionOptions::new_optimistic()

0 commit comments

Comments
 (0)