forked from cerc-io/ipld-eth-server
integration tests hits self hosted parity kovan node:
This commit is contained in:
parent
ab4e904713
commit
3b722c132e
2
Makefile
2
Makefile
@ -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)
|
||||||
|
@ -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)
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user