mirror of
https://github.com/go-delve/delve.git
synced 2025-11-03 05:47:34 +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)
|
found := make([]bool, 10)
|
||||||
for _, g := range gs {
|
for _, g := range gs {
|
||||||
frame := -1
|
frame := -1
|
||||||
frames, err := g.Stacktrace(10, 0)
|
frames, err := g.Stacktrace(40, 0)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Logf("could not stacktrace goroutine %d: %v\n", g.ID, err)
|
t.Logf("could not stacktrace goroutine %d: %v\n", g.ID, err)
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user