-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Karuppiah Natarajan <karuppiah7890@users.noreply.github.com>
- Loading branch information
1 parent
cbf2600
commit 0dda9f7
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
https://github.com/pingcap/tidb/issues/28034 | ||
|
||
TODO - Run the tests in these files in parallel | ||
- `util/encrypt/aes_test.go` | ||
- `util/encrypt/aes_layer_test.go` | ||
- `util/encrypt/crypt_test.go` | ||
|
||
Use `t.Parallel` | ||
|
||
```bash | ||
{ make failpoint-enable; go test github.com/pingcap/tidb/util/encrypt; make failpoint-disable; } | ||
``` | ||
|
||
--- | ||
|
||
```bash | ||
tidb $ go clean -testcache | ||
tidb $ { make failpoint-enable; go test github.com/pingcap/tidb/util/encrypt; make failpoint-disable; } | ||
ok github.com/pingcap/tidb/util/encrypt 0.984s | ||
tidb $ gst | ||
On branch master | ||
Your branch is up to date with 'origin/master'. | ||
|
||
nothing to commit, working tree clean | ||
tidb $ { make failpoint-enable; go test github.com/pingcap/tidb/util/encrypt; make failpoint-disable; } | ||
ok github.com/pingcap/tidb/util/encrypt (cached) | ||
|
||
tidb $ | ||
tidb $ go clean -testcache | ||
tidb $ { make failpoint-enable; go test github.com/pingcap/tidb/util/encrypt; make failpoint-disable; } | ||
ok github.com/pingcap/tidb/util/encrypt 0.354s | ||
tidb $ go clean -testcache | ||
tidb $ gco - | ||
Switched to branch 'parallelize-util/encrpyt-package-tests' | ||
tidb $ { make failpoint-enable; go test github.com/pingcap/tidb/util/encrypt; make failpoint-disable; } | ||
ok github.com/pingcap/tidb/util/encrypt 0.344s | ||
tidb $ | ||
``` | ||
|
||
|