File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,7 @@ import (
1414 "regexp"
1515 "runtime/debug"
1616 "strconv"
17- "sync"
1817 "testing"
19- "testing/synctest"
2018 "time"
2119)
2220
@@ -1408,21 +1406,3 @@ func TestIssue63379(t *testing.T) {
14081406 }
14091407 }
14101408}
1411-
1412- // Issue #73733: encoding/json used a WaitGroup to coordinate access to cache entries.
1413- // Since WaitGroup.Wait is durably blocking, this caused apparent deadlocks when
1414- // multiple bubbles called json.Marshal at the same time.
1415- func TestSynctestMarshal (t * testing.T ) {
1416- var wg sync.WaitGroup
1417- for range 5 {
1418- wg .Go (func () {
1419- synctest .Test (t , func (t * testing.T ) {
1420- _ , err := Marshal ([]string {})
1421- if err != nil {
1422- t .Errorf ("Marshal: %v" , err )
1423- }
1424- })
1425- })
1426- }
1427- wg .Wait ()
1428- }
You can’t perform that action at this time.
0 commit comments