]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: remove a duplicated testcase of TestPallocDataFindScavengeCa…
authorTao Qingyun <qingyunha@gmail.com>
Sat, 7 Nov 2020 02:43:27 +0000 (02:43 +0000)
committerMichael Pratt <mpratt@google.com>
Thu, 4 Mar 2021 16:31:19 +0000 (16:31 +0000)
Change-Id: Ib44729ffb5d4d7b84114dcf028b7e0418c9d5035
GitHub-Last-Rev: 13f59a650aa424b4852ee4a803eebc793dbbfc15
GitHub-Pull-Request: golang/go#42434
Reviewed-on: https://go-review.googlesource.com/c/go/+/268021
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
Trust: Martin Möhrmann <moehrmann@google.com>

src/runtime/mgcscavenge_test.go

index 250343077ff84737ac31d5d7b56108903d13cf66..3b12a2e1e631524e4ea267025214f34966fa42a0 100644 (file)
@@ -152,12 +152,6 @@ func TestPallocDataFindScavengeCandidate(t *testing.T) {
                        max:   PallocChunkPages,
                        want:  BitRange{0, uint(m)},
                }
-               tests["StartFree"+suffix] = test{
-                       alloc: []BitRange{{uint(m), PallocChunkPages - uint(m)}},
-                       min:   m,
-                       max:   PallocChunkPages,
-                       want:  BitRange{0, uint(m)},
-               }
                tests["EndFree"+suffix] = test{
                        alloc: []BitRange{{0, PallocChunkPages - uint(m)}},
                        min:   m,