mirror of
https://github.com/go-delve/delve.git
synced 2025-11-01 20:20:40 +08:00
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:
committed by
GitHub
parent
95674dd463
commit
370ce5c01c
@ -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
|
||||
|
||||
Reference in New Issue
Block a user