We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failed when I just run make test
make test
the log:
# make test mkdir -p "/tmp/tidb_binlog_test" ok github.com/pingcap/tidb-binlog/arbiter 0.149s coverage: 74.0% of statements ? github.com/pingcap/tidb-binlog/cmd/arbiter [no test files] ? github.com/pingcap/tidb-binlog/cmd/binlogctl [no test files] ? github.com/pingcap/tidb-binlog/cmd/drainer [no test files] ? github.com/pingcap/tidb-binlog/cmd/pump [no test files] ? github.com/pingcap/tidb-binlog/cmd/reparo [no test files] ok github.com/pingcap/tidb-binlog/drainer 0.106s coverage: 0.9% of statements ok github.com/pingcap/tidb-binlog/drainer/checkpoint 0.035s coverage: 76.6% of statements ok github.com/pingcap/tidb-binlog/drainer/loopbacksync 0.004s coverage: 84.8% of statements ---------------------------------------------------------------------- FAIL: reader_test.go:33: testReaderSuite.TestCreate reader_test.go:38: c.Assert(err, NotNil) ... value = nil ---------------------------------------------------------------------- FAIL: reader_test.go:102: testReaderSuite.TestReadBinlogError reader_test.go:120: c.Assert(<-relayReader.Error(), ErrorMatches, "*permission denied*") ... value = nil ... regex string = "*permission denied*" ... Error value is nil ---------------------------------------------------------------------- FAIL: relayer_test.go:34: testRelayerSuite.TestCreate relayer_test.go:45: c.Assert(err, NotNil) ... value = nil OOPS: 4 passed, 3 FAILED --- FAIL: TestRelayer (125.00s) FAIL coverage: 88.1% of statements FAIL github.com/pingcap/tidb-binlog/drainer/relay 125.029s ok github.com/pingcap/tidb-binlog/drainer/sync 0.349s coverage: 72.9% of statements ok github.com/pingcap/tidb-binlog/drainer/translator 0.039s coverage: 70.7% of statements ok github.com/pingcap/tidb-binlog/pkg/binlogfile 0.047s coverage: 75.0% of statements ok github.com/pingcap/tidb-binlog/pkg/dml 0.004s coverage: 100.0% of statements ok github.com/pingcap/tidb-binlog/pkg/encrypt 0.004s coverage: 66.1% of statements ok github.com/pingcap/tidb-binlog/pkg/etcd 7.066s coverage: 82.9% of statements ok github.com/pingcap/tidb-binlog/pkg/file 0.105s coverage: 87.5% of statements ok github.com/pingcap/tidb-binlog/pkg/filter 0.004s coverage: 98.1% of statements ok github.com/pingcap/tidb-binlog/pkg/flags 0.005s coverage: 90.5% of statements ok github.com/pingcap/tidb-binlog/pkg/loader 0.501s coverage: 74.0% of statements ok github.com/pingcap/tidb-binlog/pkg/node 0.098s coverage: 80.3% of statements ok github.com/pingcap/tidb-binlog/pkg/security 0.018s coverage: 69.0% of statements ok github.com/pingcap/tidb-binlog/pkg/sql 0.432s coverage: 78.6% of statements ok github.com/pingcap/tidb-binlog/pkg/types 0.004s coverage: 91.7% of statements ---------------------------------------------------------------------- FAIL: ts_test.go:57: tsSuite.TestTSOToRoughTime ts_test.go:60: c.Assert(t, Equals, expectT) ... obtained time.Time = time.Date(2019, time.April, 26, 7, 10, 38, 0, time.Local) ("2019-04-26 07:10:38 +0000 UTC") ... expected time.Time = time.Date(2019, time.April, 26, 15, 10, 38, 0, time.Local) ("2019-04-26 15:10:38 +0000 UTC") OOPS: 38 passed, 1 FAILED --- FAIL: Test (2.27s) FAIL coverage: 69.1% of statements FAIL github.com/pingcap/tidb-binlog/pkg/util 2.293s ? github.com/pingcap/tidb-binlog/pkg/version [no test files] ok github.com/pingcap/tidb-binlog/pkg/zk 0.126s coverage: 84.7% of statements ok github.com/pingcap/tidb-binlog/pump 0.099s coverage: 1.0% of statements ok github.com/pingcap/tidb-binlog/pump/storage 4.703s coverage: 72.6% of statements ok github.com/pingcap/tidb-binlog/reparo 0.314s coverage: 81.1% of statements ok github.com/pingcap/tidb-binlog/reparo/syncer 0.438s coverage: 85.6% of statements ? github.com/pingcap/tidb-binlog/tests/binlog [no test files] ? github.com/pingcap/tidb-binlog/tests/dailytest [no test files] ? github.com/pingcap/tidb-binlog/tests/kafka [no test files] ? github.com/pingcap/tidb-binlog/tests/reparo [no test files] ? github.com/pingcap/tidb-binlog/tests/util [no test files] FAIL make: *** [Makefile:62: test] Error 1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug Report
failed when I just run
make test
the log:
The text was updated successfully, but these errors were encountered: