-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
affects-6.1This bug affects the 6.1.x(LTS) versions.This bug affects the 6.1.x(LTS) versions.severity/majorsig/executionSIG executionSIG executiontype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Description
Bug Report
1. Minimal reproduce step (Required)
Run the tests in executor package
{ make failpoint-enable; go test -v github.com/pingcap/tidb/executor; make failpoint-disable; }2. What did you expect to see? (Required)
No errors
3. What did you see instead (Required)
errors -
FAIL: executor_test.go:6660: testClusterTableSuite.TestIssue20236
executor_test.go:6751:
tk.MustQuery(cas.sql).Check(testutil.RowsWithSep("|", cas.result...))
/Users/karuppiahn/projects/github.com/pingcap/tidb/util/testkit/testkit.go:66:
res.c.Assert(resBuff.String(), check.Equals, needBuff.String(), res.comment)
... obtained string = "" +
... "[2020-02-17 18:00:05.000000]\n" +
... "[2020-02-17 19:00:00.000000]\n"
... expected string = "" +
... "[2020-02-17 18:00:05.000000]\n" +
... "[2020-02-17 19:00:00.000000]\n" +
... "[2020-05-14 19:03:54.314615]\n"
... sql:select time from cluster_slow_query where time > '2020-02-17 12:00:05.000000' and time < '2020-05-14 20:00:00.000000', args:[]
FAIL: executor_test.go:6556: testClusterTableSuite.TestSlowQuery
executor_test.go:6654:
tk.MustQuery(sql).Check(testutil.RowsWithSep("|", cas.result...))
/Users/karuppiahn/projects/github.com/pingcap/tidb/util/testkit/testkit.go:66:
res.c.Assert(resBuff.String(), check.Equals, needBuff.String(), res.comment)
... obtained string = "[2 2020-02-15 18:00:01.000000 2020-02-15 19:00:05.000000]\n"
... expected string = "[2 2020-02-15 19:00:05.000000 2020-02-16 18:00:01.000000]\n"
... sql:select count(*),min(time),max(time) from slow_query where time > '2020-02-15 19:00:00' and time < '2020-02-16 18:00:02', args:[]
FAIL: stale_txn_test.go:31: testStaleTxnSerialSuite.TestExactStalenessTransaction
AsOfTimestamp
stale_txn_test.go:81:
c.Assert(oracle.ExtractPhysical(tk.Se.GetSessionVars().TxnCtx.StartTS), Equals, testcase.expectPhysicalTS)
... obtained int64 = 1599330600000
... expected int64 = 1599321600000
FAIL: stale_txn_test.go:513: testStaleTxnSerialSuite.TestSetTransactionReadOnlyAsOf
stale_txn_test.go:547:
c.Assert(tk.Se.GetSessionVars().TxnReadTS.PeakTxnReadTS(), Equals, testcase.expectedTS)
... obtained uint64 = 0x5e3c2c9eb800000
... expected uint64 = 0x5e3c0a49a800000
4. What is your TiDB version? (Required)
Commit - 7d8a874
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
affects-6.1This bug affects the 6.1.x(LTS) versions.This bug affects the 6.1.x(LTS) versions.severity/majorsig/executionSIG executionSIG executiontype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.