tests: increase stack depth for TestFrameEvaluation (#2501)

Sometimes on Windows TestFrameEvaluation fails because the stacktrace
doesn't look deep enough.
This commit is contained in:
Alessandro Arzilli
2021-05-20 19:01:20 +02:00
committed by GitHub
parent 95674dd463
commit 370ce5c01c

View File

@ -1278,7 +1278,7 @@ func TestFrameEvaluation(t *testing.T) {
found := make([]bool, 10)
for _, g := range gs {
frame := -1
frames, err := g.Stacktrace(10, 0)
frames, err := g.Stacktrace(40, 0)
if err != nil {
t.Logf("could not stacktrace goroutine %d: %v\n", g.ID, err)
continue