expression: migrate tests to testify#29276
Conversation
... also use a thread safe rng for stable test This closes pingcap#29132 . This closes pingcap#29134 . This closes pingcap#29142 . Signed-off-by: tison <wander4096@gmail.com>
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
|
/cc @xhebox @wjhuang2016 |
Signed-off-by: tison <wander4096@gmail.com>
|
LGTM. |
| "github.com/stretchr/testify/require" | ||
| ) | ||
|
|
||
| func TestCIWeightString(t *testing.T) { |
There was a problem hiding this comment.
Shall the TestWeightString be moved to here too? it seems that #29283 happens on TestWeightString (Also I have encountered few failures on this function)
There was a problem hiding this comment.
Nope. The root cause of TestWeightString is running concurrently with TestCIWeightString. Thus after we move TestCIWeightString out, TestWeightString will be fixed.
|
/run-common-test tidb-test=pr/1307 |
what does it run for? |
Select a pr to test the changes( |
It may confuse other reviewers that this PR has a bug =。= |
|
/run-common-test tidb-test=pr/1307 |
|
/run-all-tests |
|
/run-common-test |
|
LGTM |
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: 08705cc |
... also use a thread safe rng for stable test
This closes #29132 .
This closes #29134 .
This closes #29142 .
This closes #29283 . Move
TestCIWeightStringto serial test.This closes #29164 . Replace
rand.SourcewithlockedSource.Signed-off-by: tison wander4096@gmail.com
Release note