-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
severity/minorsig/sql-infraSIG: SQL InfraSIG: SQL Infratype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Run TestGetLastExpectedTime
in TZ Australia/Lord_Howe
:
➜ tidb git:(master) ✗ TZ="Australia/Lord_Howe" go test --tags=intest -run ^TestGetLastExpectedTime$ "github.com/pingcap/tidb/pkg/domain"
--- FAIL: TestGetLastExpectedTime (0.00s)
ru_stats_test.go:144:
Error Trace: /Users/bb7133/Projects/gopath/src/github.com/pingcap/tidb/pkg/domain/ru_stats_test.go:144
Error: Not equal:
expected: time.Date(2023, time.December, 28, 10, 0, 0, 0, time.Local)
actual : time.Date(2023, time.December, 28, 9, 0, 0, 0, time.Local)
Diff:
--- Expected
+++ Actual
@@ -1,2 +1,2 @@
-(time.Time) 2023-12-28 10:00:00 +1100 +11
+(time.Time) 2023-12-28 09:00:00 +1100 +11
Test: TestGetLastExpectedTime
FAIL
FAIL github.com/pingcap/tidb/pkg/domain 1.402s
FAIL
4. What is your TiDB version? (Required)
Latest master(555ce02)
Metadata
Metadata
Assignees
Labels
severity/minorsig/sql-infraSIG: SQL InfraSIG: SQL Infratype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.