-
Notifications
You must be signed in to change notification settings - Fork 217
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
Add SMASH integration test #2319
Conversation
@piotr-iohk can you think of more scenarios? |
lib/core-integration/src/Test/Integration/Scenario/API/Shelley/StakePools.hs
Show resolved
Hide resolved
...47c0973ca6c0cf9c2bbe6838dc6/af7789093aa1fbff0f6e7026ecdbbd470f04e9a0415e1e7e6b9f1d54cd353126
Outdated
Show resolved
Hide resolved
e2aea16
to
6209bb4
Compare
6209bb4
to
3e7e73a
Compare
ByronTransactions.spec @n | ||
ByronHWWallets.spec @n | ||
|
||
-- possible conflict with StakePools | ||
Settings.spec @n |
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.
👍
lib/core-integration/src/Test/Integration/Scenario/API/Shelley/StakePools.hs
Show resolved
Hide resolved
3e7e73a
to
db43c99
Compare
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
lib/core-integration/src/Test/Integration/Scenario/API/Shelley/StakePools.hs
Show resolved
Hide resolved
3b742b4
to
badf769
Compare
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.
Nice catch.
setup = run $ atomically cleanDB | ||
|
||
prop = do | ||
run $ atomically $ putDelistedPools (Set.toList pools) |
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.
Arguably, this ☝️ is setup
, but I am neat-picking :)
@@ -607,6 +609,18 @@ updateMetadataSource ctx t = do | |||
} | |||
} |] | |||
|
|||
bracketSettings :: (MonadIO m, MonadCatch m) => Context t -> m () -> m () | |||
bracketSettings ctx action = do |
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.
We could have leveraged resourcet
here for allocating / freeing settings.
bors r+ |
2319: Add SMASH integration test r=hasufell a=hasufell # Issue Number https://jira.iohk.io/browse/ADP-478 * add integration test for SMASH via file stub server Co-authored-by: Julian Ospald <[email protected]>
Build failed: Timed out after
and a lot of |
bors r+ |
Build succeeded: |
-j 8 was enabled on 2020-11-04. There _is_ a timeout two days after. But timeouts only became _frequent_ on 2020-11-17. * [2020-11-06]|#2297 (comment)] * [2020-11-17|#2319 (comment)] * [2020-11-18|#2329 (comment)] * [2020-11-18|#2329 (comment)] * [2020-11-19|#2335 (comment)] * [2020-11-19|#2335 (comment)] * [2020-11-23|#2338 (comment)] * [2020-11-23|#2338 (comment)] * [2020-11-23|#2338 (comment)] * [2020-11-24|#2338 (comment)] * [2020-11-24|#2343 (comment)]
-j 8 was enabled on 2020-11-04. There _is_ a timeout two days after. But timeouts only became _frequent_ on 2020-11-17. * [2020-11-06]|#2297 (comment)] * [2020-11-17|#2319 (comment)] * [2020-11-18|#2329 (comment)] * [2020-11-18|#2329 (comment)] * [2020-11-19|#2335 (comment)] * [2020-11-19|#2335 (comment)] * [2020-11-23|#2338 (comment)] * [2020-11-23|#2338 (comment)] * [2020-11-23|#2338 (comment)] * [2020-11-24|#2338 (comment)] * [2020-11-24|#2343 (comment)]
-j 8 was enabled on 2020-11-04. There _is_ a timeout two days after. But timeouts only became _frequent_ on 2020-11-17. * [2020-11-06]|#2297 (comment)] * [2020-11-17|#2319 (comment)] * [2020-11-18|#2329 (comment)] * [2020-11-18|#2329 (comment)] * [2020-11-19|#2335 (comment)] * [2020-11-19|#2335 (comment)] * [2020-11-23|#2338 (comment)] * [2020-11-23|#2338 (comment)] * [2020-11-23|#2338 (comment)] * [2020-11-24|#2338 (comment)] * [2020-11-24|#2343 (comment)]
Issue Number
https://jira.iohk.io/browse/ADP-478