Merge pull request #100 from 8thlight/update-integration-tests

integration tests hits self hosted remote parity kovan node:
This commit is contained in:
Takayuki Goto 2018-11-06 12:08:48 -06:00 committed by GitHub
commit 7afd978cf0
3 changed files with 26 additions and 2 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

@ -0,0 +1,24 @@
[database]
name = "vulcanize_public"
hostname = "localhost"
user = "vulcanize"
password = "vulcanize"
port = 5432
[client]
ipcPath = "http://147.75.64.249:8545"
[datadog]
name = "maker_vdb_staging"
[contract]
cat = "0x2f34f22a00ee4b7a8f8bbc4eaee1658774c624e0"
drip = "0x891c04639a5edcae088e546fa125b5d7fb6a2b9d"
eth_flip = "0x32D496Ad866D110060866B7125981C73642cc509"
mcd_flop = "0x6191C9b0086c2eBF92300cC507009b53996FbFFa"
pep = "0xB1997239Cfc3d15578A3a09730f7f84A90BB4975"
pip = "0x9FfFE440258B79c5d6604001674A4722FfC0f7Bc"
pit = "0xe7cf3198787c9a4daac73371a38f29aaeeced87e"
rep = "0xf88bbdc1e2718f8857f30a180076ec38d53cf296"
vat = "0xcd726790550afcd77e9a7a47e86a3f9010af126b"
vow = "0x3728e9777B2a0a611ee0F89e00E01044ce4736d1"

View File

@ -19,7 +19,7 @@ func TestIntegrationTests(t *testing.T) {
var _ = BeforeSuite(func() { var _ = BeforeSuite(func() {
testConfig := viper.New() testConfig := viper.New()
testConfig.SetConfigName("staging") testConfig.SetConfigName("integration")
testConfig.AddConfigPath("$GOPATH/src/github.com/vulcanize/vulcanizedb/environments/") testConfig.AddConfigPath("$GOPATH/src/github.com/vulcanize/vulcanizedb/environments/")
err := testConfig.ReadInConfig() err := testConfig.ReadInConfig()
ipc = testConfig.GetString("client.ipcPath") ipc = testConfig.GetString("client.ipcPath")