Skip to content

Commit 2c01c1d

Browse files
remove test that uses Go 1.25 features
1 parent 3531356 commit 2c01c1d

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

v2_encode_test.go

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff 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-
}

0 commit comments

Comments
 (0)