linkerd2/test
Alejandro Pedraza f62a2e6ee4
Refactor integration tests to use annotations functions (#4341)
* Refactor integration tests to use annotations functions

First part of #4176

Replaced all the `t.Error`/`t.Fatal` calls in the integration with the
new functions defined in `testutil/annotations.go` as described in #4292,
in order for the errors to produce Github annotations.

Most of these calls have now two strings: one containing a generic error
message and another with a more specific message. The former is what
will be aggregated and seen in the CI reports at
[linkerd2-ci-metrics](https://github.com/linkerd/linkerd2-ci-metrics).

Other changes:

- Improved the annotation generator in `annotations.go` so that the
  message includes the name of the test.
- When a failure from `RetryFor` occurs, log the original timeout so
  we can consider incrementing it when the failure is persistent.
2020-05-08 08:41:42 -05:00
..
edges Refactor integration tests to use annotations functions (#4341) 2020-05-08 08:41:42 -05:00
egress Refactor integration tests to use annotations functions (#4341) 2020-05-08 08:41:42 -05:00
endpoints Refactor integration tests to use annotations functions (#4341) 2020-05-08 08:41:42 -05:00
externalissuer Refactor integration tests to use annotations functions (#4341) 2020-05-08 08:41:42 -05:00
get Refactor integration tests to use annotations functions (#4341) 2020-05-08 08:41:42 -05:00
inject Refactor integration tests to use annotations functions (#4341) 2020-05-08 08:41:42 -05:00
routes Refactor integration tests to use annotations functions (#4341) 2020-05-08 08:41:42 -05:00
serviceaccounts Refactor integration tests to use annotations functions (#4341) 2020-05-08 08:41:42 -05:00
serviceprofiles Refactor integration tests to use annotations functions (#4341) 2020-05-08 08:41:42 -05:00
stat Refactor integration tests to use annotations functions (#4341) 2020-05-08 08:41:42 -05:00
tap Refactor integration tests to use annotations functions (#4341) 2020-05-08 08:41:42 -05:00
testdata `linkerd uninstall` errors when attempting to delete PSP (#4234) 2020-04-07 11:01:11 -05:00
tracing Refactor integration tests to use annotations functions (#4341) 2020-05-08 08:41:42 -05:00
trafficsplit Refactor integration tests to use annotations functions (#4341) 2020-05-08 08:41:42 -05:00
uninstall Refactor integration tests to use annotations functions (#4341) 2020-05-08 08:41:42 -05:00
install_test.go Refactor integration tests to use annotations functions (#4341) 2020-05-08 08:41:42 -05:00