Skip to content

Commit

Permalink
test: disable bitcoin testnet tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lwshang committed Apr 23, 2024
1 parent c09f13a commit b93df7c
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions e2e/tests-dfx/call.bash
Original file line number Diff line number Diff line change
Expand Up @@ -251,15 +251,16 @@ If you want to get reliable result, you can make an update call to the secure al
)'
# shellcheck disable=SC2154
assert_contains "bitcoin_get_balance_query $WARNING bitcoin_get_balance" "$stderr"
## bitcoin testnet
assert_command dfx canister call --network ic --query aaaaa-aa bitcoin_get_balance_query '(
record {
network = variant { testnet };
address = "bcrt1qu58aj62urda83c00eylc6w34yl2s6e5rkzqet7";
}
)'
# shellcheck disable=SC2154
assert_contains "bitcoin_get_balance_query $WARNING bitcoin_get_balance" "$stderr"

# ## bitcoin testnet
# assert_command dfx canister call --network ic --query aaaaa-aa bitcoin_get_balance_query '(
# record {
# network = variant { testnet };
# address = "bcrt1qu58aj62urda83c00eylc6w34yl2s6e5rkzqet7";
# }
# )'
# # shellcheck disable=SC2154
# assert_contains "bitcoin_get_balance_query $WARNING bitcoin_get_balance" "$stderr"

# bitcoin_get_utxos_query
## bitcoin mainnet
Expand All @@ -272,13 +273,13 @@ If you want to get reliable result, you can make an update call to the secure al
# shellcheck disable=SC2154
assert_contains "bitcoin_get_utxos_query $WARNING bitcoin_get_utxos" "$stderr"

## bitcoin testnet
assert_command dfx canister call --network ic --query aaaaa-aa bitcoin_get_utxos_query '(
record {
network = variant { testnet };
address = "bcrt1qu58aj62urda83c00eylc6w34yl2s6e5rkzqet7";
}
)'
# shellcheck disable=SC2154
assert_contains "bitcoin_get_utxos_query $WARNING bitcoin_get_utxos" "$stderr"
# ## bitcoin testnet
# assert_command dfx canister call --network ic --query aaaaa-aa bitcoin_get_utxos_query '(
# record {
# network = variant { testnet };
# address = "bcrt1qu58aj62urda83c00eylc6w34yl2s6e5rkzqet7";
# }
# )'
# # shellcheck disable=SC2154
# assert_contains "bitcoin_get_utxos_query $WARNING bitcoin_get_utxos" "$stderr"
}

0 comments on commit b93df7c

Please sign in to comment.