integration tests hits self hosted parity kovan node:

This commit is contained in:
Taka Goto 2018-11-01 10:24:03 -05:00
parent ab4e904713
commit 3b722c132e
2 changed files with 2 additions and 10 deletions

View File

@ -50,7 +50,7 @@ test: | $(GINKGO) $(LINT)
integrationtest: | $(GINKGO) $(LINT) integrationtest: | $(GINKGO) $(LINT)
go vet ./... go vet ./...
go fmt ./... go fmt ./...
$(GINKGO) -r --flakeAttempts=20 pkg/transformers/integration_tests/ integration_test/ $(GINKGO) -r pkg/transformers/integration_tests/ integration_test/
.PHONY: dep .PHONY: dep
dep: | $(DEP) dep: | $(DEP)

View File

@ -6,7 +6,6 @@ import (
. "github.com/onsi/ginkgo" . "github.com/onsi/ginkgo"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
"github.com/spf13/viper"
"io/ioutil" "io/ioutil"
) )
@ -18,13 +17,6 @@ func TestIntegrationTests(t *testing.T) {
} }
var _ = BeforeSuite(func() { var _ = BeforeSuite(func() {
testConfig := viper.New() ipc = "http://147.75.64.249:8545" //self hosted parity kovan node
testConfig.SetConfigName("staging")
testConfig.AddConfigPath("$GOPATH/src/github.com/vulcanize/vulcanizedb/environments/")
err := testConfig.ReadInConfig()
ipc = testConfig.GetString("client.ipcPath")
if err != nil {
log.Fatal(err)
}
log.SetOutput(ioutil.Discard) log.SetOutput(ioutil.Discard)
}) })