This website works better with JavaScript.
Home
Explore
Help
Sign In
brettlangdon
/
pypihub
mirror of
https://github.com/brettlangdon/pypihub.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
1
Wiki
Activity
Browse Source
Test case for sync.WaitGroup race
Carl Jackson
11 years ago
parent
565aaaa983
commit
b805cb8667
1 changed files
with
12 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+12
-0
graceful/race_test.go
+ 12
- 0
graceful/race_test.go
View File
@ -0,0 +1,12 @@
// +build race
package
graceful
import
"testing"
func
TestWaitGroupRace
(
t
*
testing
.
T
)
{
go
func
(
)
{
go
WrapConn
(
fakeConn
{
}
)
.
Close
(
)
}
(
)
Shutdown
(
)
}
Write
Preview
Loading…
Cancel
Save