Commit 386b1a42 authored by Ian Lance Taylor's avatar Ian Lance Taylor

runtime: treat call from runtime as transient in TestDebugCall

Fixes #32985

Change-Id: I5d504715dcc92d4f4f560ea2e843d9275f938685
Reviewed-on: https://go-review.googlesource.com/c/go/+/207620
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: default avatarBryan C. Mills <bcmills@google.com>
Reviewed-by: default avatarAustin Clements <austin@google.com>
parent 94f4686a
......@@ -70,7 +70,7 @@ func InjectDebugCall(gp *g, fn, args interface{}, tkill func(tid int) error, ret
return nil, h.err
}
fallthrough
case "retry _Grunnable", "executing on Go runtime stack":
case "retry _Grunnable", "executing on Go runtime stack", "call from within the Go runtime":
// These are transient states. Try to get out of them.
if i < 100 {
usleep(100)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment