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:
parent
dc87f39889
commit
00c2052da3
@ -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 {
|
||||||
|
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user