Skip to content

Commit bed8389

Browse files
Removed parallel execution for test/subtest where AllocsPerRun is used
1 parent d92b99e commit bed8389

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,6 @@ func withAudit(ctx context.Context) context.Context {
552552
}
553553

554554
func TestUnsafeConversions(t *testing.T) {
555-
t.Parallel()
556555

557556
// needs to be large to force allocations so we pick a random value between [1024, 2048]
558557
size := utilrand.IntnRange(1024, 2048+1)
@@ -574,7 +573,6 @@ func TestUnsafeConversions(t *testing.T) {
574573
})
575574

576575
t.Run("toBytes allocations", func(t *testing.T) {
577-
t.Parallel()
578576

579577
s := utilrand.String(size)
580578
f := func() {
@@ -606,7 +604,6 @@ func TestUnsafeConversions(t *testing.T) {
606604
})
607605

608606
t.Run("toString allocations", func(t *testing.T) {
609-
t.Parallel()
610607

611608
b := make([]byte, size)
612609
if _, err := rand.Read(b); err != nil {

0 commit comments

Comments
 (0)