-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ETCM-395] faucet unit tests #816
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
shutdownTimeout = 15.seconds | ||
) | ||
|
||
val fHandler = TestProbe() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
val fHandler = TestProbe() | |
val faucetHandler = TestProbe() |
} | ||
} | ||
|
||
it should "answer timeout when tried to get status but the Faucet Handler is disable" in new TestSetup { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it should "answer timeout when tried to get status but the Faucet Handler is disable" in new TestSetup { | |
it should "answer internal error when tried to get status but the Faucet Handler is disable" in new TestSetup { |
} | ||
} | ||
|
||
it should "answer timeout when tried to send funds but the Faucet Handler is disable" in new TestSetup { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it should "answer timeout when tried to send funds but the Faucet Handler is disable" in new TestSetup { | |
it should "answer internal error when tried to send funds but the Faucet Handler is disable" in new TestSetup { |
…tis into ETCM-395-faucet-test
Description
Add unit test in class FaucetRpcService.
Fix case when we don't have available the faucetHandler (in the actor system)
Proposed Solution
When we don't have the faucetHandler available, we receive an InternalError.