Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
driftluo committed Dec 24, 2024
1 parent 21f1173 commit f3fc490
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/tests/ckb_rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,33 @@ fn test_get_block_with_cycles_fail() {
println!("999");
}

#[test]
fn test_cargo_hang_1() {
let ckb_client = CkbRpcClient::new(TEST_CKB_RPC_URL);
// let block = ckb_client.get_block_with_cycles(BLOCK_HASH_NOT_EXIST.clone());
// let block = block.unwrap();
// assert!(block.is_none());
println!("999");
}

#[test]
fn test_cargo_hang_2() {
let ckb_client = CkbRpcClient::new(TEST_CKB_RPC_URL);
let block = ckb_client.get_block_with_cycles(BLOCK_HASH_NOT_EXIST.clone());
// let block = block.unwrap();
// assert!(block.is_none());
println!("999");
}

#[test]
fn test_cargo_hang_3() {
let ckb_client = CkbRpcClient::new(TEST_CKB_RPC_URL);
let block = ckb_client.get_block_with_cycles(BLOCK_HASH_NOT_EXIST.clone());
let block = block.unwrap();
// assert!(block.is_none());
println!("999");
}

#[test]
fn test_get_packed_block_with_cycles_fail() {
let ckb_client = CkbRpcClient::new(TEST_CKB_RPC_URL);
Expand Down

0 comments on commit f3fc490

Please sign in to comment.