iotaledger / iri-regression

3 stars 5 forks source link

Node start-up - becoming solid #37

Open jakubcech opened 6 years ago

jakubcech commented 6 years ago

Description

Started up node needs to become solid on the latest milestones in a reasonable time. Use this to create a baseline that is acceptable for us and make that into a metric. (checks for both node being able to become solid and how long it takes)

Motivation

Cover the scenario where an initializing node doesn't become solid or takes too long to become solid on the latest milestone.

Issues

  1. Newly started node doesn't become solid in a reasonable time.
  2. Newly started node doesn't become solid.

How to test for this

Scenario 1

  1. Start a node that needs to get fully synced (no DB). The new node will have a database from date Z - 3 days.
  2. The node has 5 (?) fully synced neighbors. The neighbors have a database from date Z.
  3. The node is Y milestones behind the synced neighbors.
  4. Log how long it takes for the node to become solid on the latest milestone.
  5. The node needs to become solid. (6. The node needs to become solid within X (?) minutes. )