Skip to content
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

optimize RemotePactTest and add new invalid tx test #2084

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

edmundnoble
Copy link
Contributor

This test is optimized by sharing the TLS cert and HTTP manager between tests. Otherwise the rest of the testing fixture is not shared.

This PR also adds some tasty steps to a few tests, which makes it clearer what they're spending their time on.

There's one extra invalid tx test as well, testing the error from sending to the wrong chain.

This test is optimized by sharing the TLS cert and HTTP manager
between tests. Otherwise the rest of the testing fixture is *not*
shared.

This PR also adds some tasty steps to a few tests, which makes it
clearer what they're spending their time on.

There's one extra invalid tx test as well, testing the error from
sending to the wrong chain.
@@ -131,6 +131,7 @@ advanceAllChains Fixture{..} = do
let blockHeights = fmap (view blockHeight) $ latestCut ^. cutMap
let latestBlockHeight = maximum blockHeights

-- TODO: rejig this to do parallel mining.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is rejig ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants