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

Remove java dependency from go tests #1018

Merged

Conversation

chris-j-h
Copy link
Collaborator

The setup stage of this private/public state test starts constellation if available on path, or downloads and starts tessera.

This adds a dependency on java for the tests to pass. The ubuntu image used by the CI workflow has jdk 1.8 installed by default hence why this test has been passing.

The transaction manager node is not used by the test as it manipulates private state directly, such that no private tx payload read/writes to the tm are made.

Removing this section of the test setup removes the java dependency and dramatically decreases the run time of the test (~50 secs to 0.1 secs locally) as tessera is no longer downloaded and started.

The setup stage of this private/public state test starts constellation if available on path, or downloads and starts tessera.
This adds a dependency on java for the tests to pass.  The ubuntu image used by the CI workflow has jdk 1.8 installed hence why this test has been passing.
The transaction manager node is not used by the test as it manipulates private state directly, such that no private tx payload read/writes to the tm are made.
Removing this section of the test setup removes the java dependency and dramatically decreases the run time of the test (~30secs to 0.1 secs locally) as tessera is no longer downloaded and started.
@jpmsam jpmsam merged commit 832e1e6 into Consensys:master Jun 15, 2020
@chris-j-h chris-j-h deleted the remove-java-dependency-from-tests branch June 16, 2020 09:02
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.

None yet

2 participants