mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2024-11-19 09:52:09 +01:00
Make TestAsyncUtil serializable (#493)
Every now and then the Scalatest framework has crashed when reporting errors, with failure to serialize this. There should be no downside to having the trait here, and we avoid the nasty Scalatest failure.
This commit is contained in:
parent
a3dd824e57
commit
49ffbea801
@ -6,7 +6,9 @@ import org.scalatest.exceptions.{StackDepthException, TestFailedException}
|
||||
import scala.concurrent.{ExecutionContext, Future}
|
||||
import scala.concurrent.duration.FiniteDuration
|
||||
|
||||
abstract class TestAsyncUtil extends org.bitcoins.rpc.util.AsyncUtil {
|
||||
abstract class TestAsyncUtil
|
||||
extends org.bitcoins.rpc.util.AsyncUtil
|
||||
with Serializable {
|
||||
override protected def retryUntilSatisfiedWithCounter(
|
||||
conditionF: () => Future[Boolean],
|
||||
duration: FiniteDuration,
|
||||
|
Loading…
Reference in New Issue
Block a user