]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: treat call from runtime as transient in TestDebugCall
authorIan Lance Taylor <iant@golang.org>
Mon, 18 Nov 2019 19:13:20 +0000 (11:13 -0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 3 Dec 2019 04:15:58 +0000 (04:15 +0000)
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>
src/runtime/export_debug_test.go

index 7ae12f6da31c12ca5aa29a4afceaa4aef7d98af3..97bb7bd62ac162246a5f8853fc324f9ce5269796 100644 (file)
@@ -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)