Skip to content
Snippets Groups Projects
Unverified Commit e827eb17 authored by Silas Davis's avatar Silas Davis
Browse files

Attempt to deflake integration test (bind: address already in use issue)

parent 3e8649a1
No related branches found
No related tags found
No related merge requests found
......@@ -42,9 +42,9 @@ test:
override:
# We only wish to test our packages not vendored ones
- echo "Running unit tests..."
- cd $GOPATH_REPO && glide novendor | xargs go test -v
- cd $GOPATH_REPO && go test -v `glide novendor`
- echo "Running integration tests..."
- cd $GOPATH_REPO && glide novendor | xargs go test -v -tags integration
- cd $GOPATH_REPO && go test -v -tags integration `glide novendor`
deployment:
......
// +build integration
// Space above here matters
package test
import (
"github.com/eris-ltd/eris-db/test/fixtures"
rpc_core "github.com/eris-ltd/eris-db/rpc/tendermint/core"
"testing"
"fmt"
)
// Needs to be in a _test.go file to be picked up
// Needs to be referenced by a *_test.go file to be picked up
func TestWrapper(runner func() int) int {
fmt.Println("Running with integration TestWrapper (rpc/tendermint/test/common.go)...")
ffs := fixtures.NewFileFixtures("Eris-DB")
defer ffs.RemoveAll()
......
// +build integration
// Space above here matters
package main
import (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment