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

Design testing spec #24

Open
mhchia opened this issue Jul 27, 2018 · 4 comments
Open

Design testing spec #24

mhchia opened this issue Jul 27, 2018 · 4 comments
Labels
design Need design test Related to tests

Comments

@mhchia
Copy link
Collaborator

mhchia commented Jul 27, 2018

What is wrong?

The testing spec is not clear for now.

How can it be fixed?

Design a formal testing spec

  • Network topology
    • Description for nodes(latency, connections, actor(role), …)
    • Spinning up nodes at beginning or gradually?
    • Deterministic simulations(can be reproduced)
    • Stochastic factors(e.g. nodes arriving time, random delay between actions, ...)
    • Survey if YANG helps
  • Failure conditions
@mhchia mhchia added design Need design test Related to tests labels Jul 27, 2018
@jrhea
Copy link
Contributor

jrhea commented Jul 28, 2018

I think it would be good to design it to add some sort of stochastic element to the simulation. You could sample from an exponential distribution to generate the time until the next node joins or leaves. This is also nice bc you can modify the behavior of the sim by simply changing the params of the distribution.

@mhchia
Copy link
Collaborator Author

mhchia commented Jul 28, 2018

Agree. My thought was to start from the deterministic simulation, because it is easier to reproduce. We can also have stochastic factors specified in the spec.

@mhchia
Copy link
Collaborator Author

mhchia commented Jul 28, 2018

I have updated it in the issue, thanks a lot for pointing it out!

@mhchia
Copy link
Collaborator Author

mhchia commented Dec 14, 2018

Point to the testing plan: https://notes.ethereum.org/Q_kQKXZUQD29YCshej1qPQ

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

No branches or pull requests

2 participants