-
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.
test: Add testing multi goroutine and multi loop
- Test 10 goroutine and 100000 loop - Test 100000 goroutine and 10 loop - Test exclusive add and remove operations in different goroutines for 100000 loops Co-authored-by: DPS0340 <[email protected]>
- Loading branch information
Showing
2 changed files
with
60 additions
and
10 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
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 |
---|---|---|
|
@@ -3,6 +3,6 @@ install: | |
go mod tidy | ||
|
||
.PHONY: test | ||
test: install | ||
go test ./... -race | ||
test: | ||
go test ./... -race -v | ||
|