linkerd2/testutil
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
..
annotations.go Refactor integration tests to use annotations functions (#4341) 2020-05-08 08:41:42 -05:00
annotations_test.go Refactor integration tests to use annotations functions (#4341) 2020-05-08 08:41:42 -05:00
doc.go Introduce script to test multiple cloud providers (#2592) 2019-03-29 16:22:30 -07:00
kubernetes_helper.go Update control-plane-namespace label (#4061) 2020-02-24 12:57:28 -08:00
stream.go Add integration tests for tap (#1152) 2018-06-19 14:05:36 -07:00
test_helper.go `linkerd uninstall` errors when attempting to delete PSP (#4234) 2020-04-07 11:01:11 -05:00