radixdlt / olympia-node

Radix monorepo
Other
142 stars 35 forks source link

Bring back "docker" tests #489

Closed Theoklitos closed 3 years ago

Theoklitos commented 3 years ago

Re-implemented the old "docker" tests.

Description

Contains the code used to start docker networks of radix nodes via java (using docker-client) plus some fixtures to help with running tests.

Check out the project's README and try to run these tests locally with:

./gradlew systemTests

There is only one such "system test" included in this PR. See it here. It does the following:

  1. starts a network with 3 nodes
  2. asserts liveness (in a crude fashion)
  3. Restarts a node
  4. Makes sure that the restarted node eventually gets UP and that the network has liveness (waiting a minute at most).

I will enable system testing in Jenkins in a subsequent PR.

sonarcloud[bot] commented 3 years ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug E 6 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 32 Code Smells

0.0% 0.0% Coverage
4.2% 4.2% Duplication