Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

[PAN-2941] Refactor privacy acceptance tests #1864

Merged
merged 44 commits into from
Sep 3, 2019

Conversation

iikirilov
Copy link
Contributor

@iikirilov iikirilov commented Aug 19, 2019

PR description

  • Restructures the Privacy acceptance tests to follow the dsl and structure of Mainnet acceptance tests.

  • Updates to web3j 4.5.0

  • Renames some configuration classes in the acceptance to more suitable name - mainly PantheonFactoryConfiguration -> PantheonNodeConfiguration and similar. Considering this is not a configuration for a factory, but rather for the node produced by the factory that is being used in tests. This removes some confusion.

  • Updates EthSigner to 0.3.0

  • Fixes Ibft privacy tests - still in flight

N.B. There is 1 known failing test

Fixed Issue(s)

PAN-2941PAN-2643

@iikirilov iikirilov changed the title [PAN-2941] Refactor privacy acceptance tests [WIP][PAN-2941] Refactor privacy acceptance tests Aug 19, 2019
@iikirilov iikirilov force-pushed the PAN-2941 branch 5 times, most recently from 8190cae to b420439 Compare August 27, 2019 13:14
@iikirilov iikirilov force-pushed the PAN-2941 branch 2 times, most recently from 148e308 to e08b274 Compare August 30, 2019 12:42
@iikirilov iikirilov marked this pull request as ready for review August 30, 2019 14:07
@iikirilov iikirilov changed the title [WIP][PAN-2941] Refactor privacy acceptance tests [PAN-2941] Refactor privacy acceptance tests Aug 30, 2019
@iikirilov iikirilov force-pushed the PAN-2941 branch 2 times, most recently from bbfea85 to 4d7fa95 Compare September 2, 2019 20:37
Copy link
Contributor

@rain-on rain-on left a comment

Choose a reason for hiding this comment

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

Minor touchups, but otherwise all good.

* also moves privacy jsonrpc package to higher level for better encapsulation of privacy code
* spotless
* update web3j 4.4.0 + use pantheon module in favour of core
* remove custom eea/privacy rpc calls -> use web3j instead
* overhaul the conditions -> web3j does the polling for receipts for us
* re-define a PrivacyNode - it is an object that holds a PantheonNode and an OrionTestHarness
* do not start OrionTestHarness prematurely - calling PrivacyNode.start() will start an Orion node followed by it's accompanying Pantheon node
* stop and close resources properly -> clean-up removes the created temporary directories correctly
@rain-on rain-on merged commit a43c492 into PegaSysEng:master Sep 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants