add wg.Wait() at the end of Test_CloneConcurrent
This commit is contained in:
parent
2118748fb0
commit
76d8b16731
|
@ -122,8 +122,8 @@ func Test_CloneConcurrent(t *testing.T) {
|
|||
wg.Done()
|
||||
}(i)
|
||||
}
|
||||
|
||||
s.Clone()
|
||||
wg.Wait()
|
||||
}
|
||||
|
||||
func Test_ContainsConcurrent(t *testing.T) {
|
||||
|
|
Loading…
Reference in New Issue