Moved e2e boilerplate to framework

This commit is contained in:
Vinicyus Macedo
2019-07-08 21:19:18 -03:00
parent 4824f823ad
commit 0f21b692e4
7 changed files with 255 additions and 220 deletions

View File

@@ -184,6 +184,8 @@ type NodeKillerConfig struct {
JitterFactor float64
// SimulatedDowntime is a duration between node is killed and recreated.
SimulatedDowntime time.Duration
// NodeKillerStopCh is a channel that is used to notify NodeKiller to stop killing nodes.
NodeKillerStopCh chan struct{}
}
// NodeTestContextType is part of TestContextType, it is shared by all node e2e test.