Skip to content

Commit

Permalink
*: update import path from coreos/gofail to etcd-io/gofail to fix ci (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
winkyao authored Aug 9, 2018
1 parent 18aae13 commit 22519ae
Show file tree
Hide file tree
Showing 22 changed files with 539 additions and 21 deletions.
18 changes: 11 additions & 7 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ required = ["github.com/golang/protobuf/jsonpb"]
version = "1.1.0"
name = "github.com/golang/protobuf"

[[constraint]]
branch = "master"
name = "github.com/coreos/gofail"

[[constraint]]
branch = "master"
name = "github.com/cznic/parser"
Expand Down Expand Up @@ -92,3 +88,7 @@ required = ["github.com/golang/protobuf/jsonpb"]
[[constraint]]
name = "github.com/opentracing/basictracer-go"
version = "1.0.0"

[[constraint]]
branch = "master"
name = "github.com/etcd-io/gofail"
2 changes: 1 addition & 1 deletion ddl/fail_db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package ddl_test
import (
"fmt"

gofail "github.com/coreos/gofail/runtime"
gofail "github.com/etcd-io/gofail/runtime"
. "github.com/pingcap/check"
"github.com/pingcap/tidb/domain"
"github.com/pingcap/tidb/model"
Expand Down
2 changes: 1 addition & 1 deletion ddl/fail_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package ddl

import (
gofail "github.com/coreos/gofail/runtime"
gofail "github.com/etcd-io/gofail/runtime"
. "github.com/pingcap/check"
"github.com/pingcap/tidb/ast"
"github.com/pingcap/tidb/model"
Expand Down
2 changes: 1 addition & 1 deletion executor/executor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"testing"
"time"

gofail "github.com/coreos/gofail/runtime"
gofail "github.com/etcd-io/gofail/runtime"
"github.com/juju/errors"
. "github.com/pingcap/check"
pb "github.com/pingcap/kvproto/pkg/kvrpcpb"
Expand Down
2 changes: 1 addition & 1 deletion owner/fail_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"time"

"github.com/coreos/etcd/clientv3"
gofail "github.com/coreos/gofail/runtime"
gofail "github.com/etcd-io/gofail/runtime"
. "github.com/pingcap/check"
"github.com/pingcap/tidb/terror"
"github.com/pingcap/tidb/util/logutil"
Expand Down
2 changes: 1 addition & 1 deletion session/session_fail_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package session_test

import (
gofail "github.com/coreos/gofail/runtime"
gofail "github.com/etcd-io/gofail/runtime"
. "github.com/pingcap/check"
"github.com/pingcap/tidb/util/testkit"
)
Expand Down
2 changes: 1 addition & 1 deletion store/tikv/2pc_fail_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package tikv

import (
gofail "github.com/coreos/gofail/runtime"
gofail "github.com/etcd-io/gofail/runtime"
"github.com/juju/errors"
. "github.com/pingcap/check"
"github.com/pingcap/tidb/terror"
Expand Down
2 changes: 1 addition & 1 deletion store/tikv/gcworker/gc_worker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"testing"
"time"

gofail "github.com/coreos/gofail/runtime"
gofail "github.com/etcd-io/gofail/runtime"
. "github.com/pingcap/check"
"github.com/pingcap/kvproto/pkg/errorpb"
"github.com/pingcap/tidb/domain"
Expand Down
2 changes: 1 addition & 1 deletion store/tikv/sql_fail_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"sync"
"time"

gofail "github.com/coreos/gofail/runtime"
gofail "github.com/etcd-io/gofail/runtime"
. "github.com/pingcap/check"
"github.com/pingcap/tidb/domain"
"github.com/pingcap/tidb/session"
Expand Down
2 changes: 1 addition & 1 deletion store/tikv/store_fail_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"sync"
"time"

gofail "github.com/coreos/gofail/runtime"
gofail "github.com/etcd-io/gofail/runtime"
. "github.com/pingcap/check"
"golang.org/x/net/context"
)
Expand Down
2 changes: 1 addition & 1 deletion tablecodec/tablecodec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"testing"
"time"

gofail "github.com/coreos/gofail/runtime"
gofail "github.com/etcd-io/gofail/runtime"
. "github.com/pingcap/check"
"github.com/pingcap/tidb/kv"
"github.com/pingcap/tidb/mysql"
Expand Down
File renamed without changes.
5 changes: 5 additions & 0 deletions vendor/github.com/etcd-io/gofail/NOTICE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 52 additions & 0 deletions vendor/github.com/etcd-io/gofail/code/binding.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

95 changes: 95 additions & 0 deletions vendor/github.com/etcd-io/gofail/code/failpoint.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 22519ae

Please sign in to comment.