diff --git a/internal/crashmonitor/monitor_test.go b/internal/crashmonitor/monitor_test.go index 0ec3787..e889dcd 100644 --- a/internal/crashmonitor/monitor_test.go +++ b/internal/crashmonitor/monitor_test.go @@ -79,7 +79,13 @@ func TestViaStderr(t *testing.T) { want := "crash/crash\n" + "runtime.gopanic:--\n" + "golang.org/x/telemetry/internal/crashmonitor_test.grandchild:=66\n" + - "golang.org/x/telemetry/internal/crashmonitor_test.child:+2\n" + + // TODO(adonovan): CL 561635 to the Go runtime, which causes + // the GOTRACEBACK=system output to be a valid input to CallersFrames, + // was reverted (see #65761), hopefully temporarily. + // For now the output contains missing frames and sometimes wrong + // line numbers. + // + // "golang.org/x/telemetry/internal/crashmonitor_test.child:+2\n" + "golang.org/x/telemetry/internal/crashmonitor_test.TestMain:+9\n" + "main.main:--\n" + "runtime.main:--\n" + @@ -147,7 +153,13 @@ func TestStart(t *testing.T) { want := "crash/crash\n" + "runtime.gopanic:--\n" + "golang.org/x/telemetry/internal/crashmonitor_test.grandchild:=66\n" + - "golang.org/x/telemetry/internal/crashmonitor_test.child:+2\n" + + // TODO(adonovan): CL 561635 to the Go runtime, which causes + // the GOTRACEBACK=system output to be a valid input to CallersFrames, + // was reverted (see #65761), hopefully temporarily. + // For now the output contains missing frames and sometimes wrong + // line numbers. + // + //"golang.org/x/telemetry/internal/crashmonitor_test.child:+2\n" + "golang.org/x/telemetry/internal/crashmonitor_test.TestMain.func3:+1\n" + "runtime.goexit:--" if got != want {