phase 2: mattes/migrate -> migratex (#848)

* move mattes migrations to migratex

* changes format of migrations to migratex format
* updates test runner to use new interface (double checked this with printlns,
the tests go fully down and then up, and work on pg/mysql)

* remove mattes/migrate

* update tests from deps

* update readme

* fix other file extensions
This commit is contained in:
Reed Allman
2018-03-13 14:12:34 -07:00
committed by GitHub
parent 1f43545b63
commit 4084b727c0
697 changed files with 16924 additions and 35406 deletions

View File

@@ -21,7 +21,7 @@ import (
"testing"
"time"
testpb "go.opencensus.io/plugin/ocgrpc/testdata"
"go.opencensus.io/plugin/ocgrpc/internal/testpb"
"go.opencensus.io/trace"
"golang.org/x/net/context"
"google.golang.org/grpc"
@@ -124,7 +124,7 @@ func TestStreaming(t *testing.T) {
s1 := <-te.ch
s2 := <-te.ch
checkSpanData(t, s1, s2, ".testdata.Foo.Multiple", true)
checkSpanData(t, s1, s2, ".testpb.Foo.Multiple", true)
select {
case <-te.ch:
@@ -167,7 +167,7 @@ func TestStreamingFail(t *testing.T) {
s1 := <-te.ch
s2 := <-te.ch
checkSpanData(t, s1, s2, ".testdata.Foo.Multiple", false)
checkSpanData(t, s1, s2, ".testpb.Foo.Multiple", false)
cleanup()
select {
@@ -196,7 +196,7 @@ func TestSingle(t *testing.T) {
s1 := <-te.ch
s2 := <-te.ch
checkSpanData(t, s1, s2, ".testdata.Foo.Single", true)
checkSpanData(t, s1, s2, ".testpb.Foo.Single", true)
cleanup()
select {
@@ -225,7 +225,7 @@ func TestSingleFail(t *testing.T) {
s1 := <-te.ch
s2 := <-te.ch
checkSpanData(t, s1, s2, ".testdata.Foo.Single", false)
checkSpanData(t, s1, s2, ".testpb.Foo.Single", false)
cleanup()
select {