for some reason an error is thrown when the ipc string is declared in integration_tests_suite_test.go but not when moved to a different file in the integration_tests package; I think this is due to switching to go1.11

This commit is contained in:
Ian Norden 2019-01-23 15:23:23 -06:00
parent dc87f39889
commit 00c2052da3
2 changed files with 2 additions and 2 deletions

View File

@ -26,6 +26,8 @@ import (
"github.com/vulcanize/vulcanizedb/pkg/geth/node" "github.com/vulcanize/vulcanizedb/pkg/geth/node"
) )
var ipc string
func getClients(ipc string) (client.RpcClient, *ethclient.Client, error) { func getClients(ipc string) (client.RpcClient, *ethclient.Client, error) {
raw, err := rpc.Dial(ipc) raw, err := rpc.Dial(ipc)
if err != nil { if err != nil {

View File

@ -10,8 +10,6 @@ import (
"io/ioutil" "io/ioutil"
) )
var ipc string
func TestIntegrationTests(t *testing.T) { func TestIntegrationTests(t *testing.T) {
RegisterFailHandler(Fail) RegisterFailHandler(Fail)
RunSpecs(t, "IntegrationTests Suite") RunSpecs(t, "IntegrationTests Suite")