pingcap/tidb
View on GitHubTwo Tests of package `expression` failed on Windows Machine with Goland
Open
#20,018 opened on Sep 15, 2020
challenge-programcomponent/testgood first issuesig/execution
Repository metrics
- Stars
- (40,090 stars)
- PR merge metrics
- (Avg merge 14d 4h) (346 merged PRs in 30d)
Description
Description
Bug Report
1. Minimal reproduce step (Required)
I don't know how to exactly reproduce the problem, but the tests always fail in my environment.
go 1.14.4
Windows 10 Professional
GoLand 2020.1.4
Build #GO-201.8538.43, built on July 8, 2020
Licensed to ZHANG Yushan
Subscription is active until November 21, 2020
For educational use only.
Runtime version: 11.0.7+10-b765.64 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 972M
Cores: 8
Registry: ide.completion.variant.limit=500, suggest.all.run.configurations.from.context=true, go.run.processes.with.pty=false, ideFeaturesTrainer.welcomeScreen.tutorialsTree=TRUE
Non-Bundled Plugins: cn.alanhe.plugin.bookmarkx4idea, mobi.hsz.idea.gitignore, name.kropp.intellij.makefile
2. What did you expect to see? (Required)
All tests passed
3. What did you see instead (Required)
Evaluator_test.go
----------------------------------------------------------------------
FAIL: expr_to_pb_test.go:447: testEvaluatorSerialSuites.TestPanicIfPbCodeUnspecified
expr_to_pb_test.go:462:
c.Assert(func() { pc.ExprToPB(fn) }, PanicMatches, "unspecified PbCode: .*")
... function func() = (func())(0x120b0f0)
... expected string = "unspecified PbCode: .*"
... Function has not panicked
----------------------------------------------------------------------
FAIL: expr_to_pb_test.go:465: testEvaluatorSerialSuites.TestPushDownSwitcher
expr_to_pb_test.go:503:
c.Assert(err, IsNil)
... value *errors.withStack = [planner:1815]expression sin(cast(Column#0, double BINARY)) cannot be pushed down ("[planner:1815]expression sin(cast(Column#0, double BINARY)) cannot be pushed down")
4. What is your TiDB version? (Required)
I just cloned the repo and run the tests on master branch
commit fa6baa9f5321d88f81a99e56af00526643e7bcaa (HEAD -> master, origin/master, origin/HEAD)
SIG slack channel
Score
- 300
Mentor
- @SunRunAway