Skip to content

Commit

Permalink
Higher walletpassphrase timeout in tests (#2022)
Browse files Browse the repository at this point in the history
Otherwise on a slow machine the wallet locks again and tests fail.
  • Loading branch information
pm47 authored Oct 21, 2021
1 parent f3b1604 commit 93481d9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class BitcoinCoreClientSpec extends TestKitBaseClass with BitcoindService with A
val error = sender.expectMsgType[Failure].cause.asInstanceOf[JsonRPCError].error
assert(error.message.contains("Please enter the wallet passphrase with walletpassphrase first"))

sender.send(bitcoincli, BitcoinReq("walletpassphrase", walletPassword, 10))
sender.send(bitcoincli, BitcoinReq("walletpassphrase", walletPassword, 3600)) // wallet stay unlocked for 3600s
sender.expectMsgType[JValue]
}

Expand Down

0 comments on commit 93481d9

Please sign in to comment.