livepeer / go-livepeer-basicnet

Basic p2p video streaming for Livepeer
MIT License
18 stars 8 forks source link

Testing suite for different message types in a network of N nodes #27

Open rairyx opened 6 years ago

rairyx commented 6 years ago

Test harness for network protocol.

ericxtang commented 6 years ago

Nice first commit @rairyx! I think this is a great first step to getting familiar with the networking stack / developing a framework for testing certain conditions.

Like you said in the email, I think it makes more sense for it to live in the test suite. Also, it would be nice to parameterize the tests a little so it's extensible to other network formations / message types.

rairyx commented 6 years ago

Changed into test suite, added message type, network topology as parameters

rairyx commented 6 years ago

Added error handling and network topology scenario may cause circular routing