Amend E2E Test Path (#8793)

This commit is contained in:
Raul Jordan 2021-04-20 11:54:38 -05:00 committed by GitHub
parent af8f444166
commit 711f527efb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,7 @@ func (node *Eth1Node) Start(ctx context.Context) error {
return errors.New("go-ethereum binary not found")
}
eth1Path := path.Join(e2e.TestParams.LogPath, "eth1data/")
eth1Path := path.Join(e2e.TestParams.TestPath, "eth1data/")
// Clear out ETH1 to prevent issues.
if _, err := os.Stat(eth1Path); !os.IsNotExist(err) {
if err = os.RemoveAll(eth1Path); err != nil {