Commit Graph

4 Commits

Author SHA1 Message Date
Frank Budinsky e30ab6491d
Add namespace labels to test framework diff snapshots (#14773)
* Add namespace labels to test framework diff snapshots

* fix lint

* failing tests

* more failed tests

* more failures

* more fixes

* one more

* fix fault injection
2024-03-25 09:07:25 -07:00
Frank Budinsky a70e78f25e
Test cleanup (#8564)
* Framework inject set +e at start of cleanup test script

* tabs

* fix typo

* add nl

* fix doc
2020-11-24 16:26:19 -05:00
Suchith J N 8ef2a3573a
Doc test for accessing Jaeger and Grafana dashboards by port-forwarding (#8086)
* refactor zipkin doc test to use test/util/addons.sh

* doc test for accessing jaeger dashboard

* doc test for accessing istio-mesh and istio-service dashboards in grafana by port-forwarding

* add -L flags to follow redirects for accessing dashboards

* fix linting issue - double quote around ingress gateway URL

* improve Grafana and Jaeger access tests based on code review feedback

* fix jaeger url

* remove prometheus queries through grafana to check if it is causing flakes in CI

* fix grafana test to use productpage request boilerplate

* fix formatting in Makefile.overrides.mk
2020-09-17 06:45:12 -07:00
Suchith J N 4b601f607e
automated test for zipkin dashboard and modify snippet generation to take boilerplate into account (#8003)
* automated test for viewing traces from zipkin dashboard (expectation is that traces are seen correctly)

* fix shellcheck linting errors

* remove verification of traces and just check if zipkin dashboard is accessible through port-forward

* Modify snippet generation logic to take {{< boilerplate >}} into account

* snippets for boilerplate

* fix shellcheck (linting) issues

* snippets generated with new logic

* automated test - check if zipkin dashboard is accessible by port-forwarding (as we cannot verify screenshot and the trace is already verified in istio/istio integration test

* clean up ZIPKIN_URL comment

* Address code review comments
1. Simplify boilerplate snippet filenames (remove .md_snips)
2. Sourced filenames should be in double quote(") instead of single quote(')

* fix gencheck_istio flake

* do not generate or include boilerplate snippets if there is not {{<text>}} in them

* fix linting errors in snip.py

* fix bug - filter out boilerplates without snippets very early
2020-08-26 08:37:50 -07:00