Move the node name initialization to first function of

SynchronizedBeforeEach, so that we can pass right node
name when starting e2e services.
This commit is contained in:
Random-Liu
2016-08-03 18:14:53 -07:00
parent de92db3520
commit 13c8381dc4
2 changed files with 11 additions and 7 deletions

View File

@@ -28,5 +28,6 @@ var startServices = flag.Bool("start-services", true, "If true, start local node
var stopServices = flag.Bool("stop-services", true, "If true, stop local node services after running tests")
type SharedContext struct {
NodeName string
PodConfigPath string
}