You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to add various workers into stress.py that interfere with the network.
There's already an attempt to build such a worker (see local_network in the test), but that requires a certain machine setup, which can be avoided with the new proxying infrastructure.
What we want:
Remove the existing network infra from the stress.py;
Change local_network mode to use proxies (proxify each node, and make local_network block all messages to and from a particular node for some brief amount of time);
Add a new worker drop_messages that instead of completely isolating a node just drops a certain percentage of messages between each pair of nodes;
We want to add various workers into
stress.py
that interfere with the network.There's already an attempt to build such a worker (see
local_network
in the test), but that requires a certain machine setup, which can be avoided with the new proxying infrastructure.What we want:
local_network
mode to use proxies (proxify each node, and makelocal_network
block all messages to and from a particular node for some brief amount of time);drop_messages
that instead of completely isolating a node just drops a certain percentage of messages between each pair of nodes;We want eventually the following tests to pass:
(the arguments to stress.py are number of shrads, number of nodes initially, number of nodes max, number of observers, workers).
The text was updated successfully, but these errors were encountered: