Skip to content
New issue

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

Make test fail #19

Closed
unknwon opened this issue Sep 6, 2015 · 5 comments
Closed

Make test fail #19

unknwon opened this issue Sep 6, 2015 · 5 comments

Comments

@unknwon
Copy link
Contributor

unknwon commented Sep 6, 2015

System: Mac OS 10.10.5

Dump from console:

----------------------------------------------------------------------
FAIL: time_test.go:292: testTimeSuite.TestCodec

time_test.go:339:
    c.Assert(t.String(), Equals, t4.String())
... obtained string = "0001-01-01 00:00:00"
... expected string = "0000-12-31 23:00:00"


----------------------------------------------------------------------
FAIL: time_test.go:342: testTimeSuite.TestParseTimeFromNum

time_test.go:392:
    c.Assert(err, NotNil)
... value = nil

OOPS: 14 passed, 2 FAILED
--- FAIL: TestT (0.01s)
FAIL
coverage: 89.6% of statements

Is this a actually bug or just something wrong with test case?

@siddontang
Copy link
Member

Hi @unknwon, what's your timezone?

@unknwon
Copy link
Contributor Author

unknwon commented Sep 6, 2015

-0400 EDT

@siddontang
Copy link
Member

It seems that we don't test time fully with different timezones, we will fix it ASAP.

@siddontang
Copy link
Member

Hi @unknwon you can check it again. Thanks.

@unknwon
Copy link
Contributor Author

unknwon commented Sep 6, 2015

Fixed, thanks!

@unknwon unknwon closed this as completed Sep 6, 2015
spongedu pushed a commit to spongedu/tidb that referenced this issue Oct 25, 2019
infoschema: add virtual table cluster_config
@pingcap pingcap deleted a comment from sre-bot Jan 9, 2020
YuJuncen pushed a commit to YuJuncen/tidb that referenced this issue Apr 23, 2021
xhebox pushed a commit to xhebox/tidb that referenced this issue Sep 28, 2021
xhebox pushed a commit to xhebox/tidb that referenced this issue Oct 8, 2021
okJiang pushed a commit to okJiang/tidb that referenced this issue Oct 19, 2021
* bugfix: make RowIter.HasNext idemponent

* add a test for rowIter

* support dumping binary data in hexadecimal representation

* address comments

* add sql_type.go

* fix bugs and typo
crazycs520 added a commit to crazycs520/tidb that referenced this issue Jan 7, 2022
Defined2014 added a commit to Defined2014/tidb that referenced this issue Mar 15, 2022
* check index

* ddl, parser: support check addIndex and dropIndex
ywqzzy pushed a commit to ywqzzy/tidb that referenced this issue Jul 17, 2023
fix engine load not found bug and add system variables
guoshouyan pushed a commit to guoshouyan/tidb that referenced this issue Mar 5, 2024
…formation schema cache pingcap#48293 (pingcap#19)

* refine info cache

Signed-off-by: crazycs520 <crazycs520@gmail.com>

* update

Signed-off-by: crazycs520 <crazycs520@gmail.com>

Signed-off-by: crazycs520 <crazycs520@gmail.com>
Co-authored-by: crazycs520 <crazycs520@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants