Skip to content
Permalink
Browse files

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: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Austin Clements <austin@google.com>
  • Loading branch information...
ianlancetaylor committed Nov 18, 2019
1 parent 94f4686 commit 386b1a4280d4a32cd8b69a92ba91b6d98832b721
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/runtime/export_debug_test.go
@@ -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)

0 comments on commit 386b1a4

Please sign in to comment.
You can’t perform that action at this time.