]> Cypherpunks repositories - gostls13.git/commit
cmd/trace: skip tests if parsing fails with timestamp error
authorHana Kim <hakim@google.com>
Wed, 28 Feb 2018 21:37:23 +0000 (16:37 -0500)
committerHyang-Ah Hana Kim <hyangah@gmail.com>
Wed, 28 Feb 2018 22:09:34 +0000 (22:09 +0000)
commit413d8a833d6eb98f2881ae10d1f9cd5286900047
tree31fa18ef1c45122999e87ebb21a2c487941406de
parentb3f00c6985a28073c8ac20369597c2e982f4ef68
cmd/trace: skip tests if parsing fails with timestamp error

runtime/trace test already skips tests in case of the timestamp
error.

Moreover, relax TestAnalyzeAnnotationGC test condition to
deal with the inaccuracy caused from use of cputicks in tracing.

Fixes #24081
Updates #16755

Change-Id: I708ecc6da202eaec07e431085a75d3dbfbf4cc06
Reviewed-on: https://go-review.googlesource.com/97757
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/trace/annotations_test.go