goss.yaml 579 B

1234567891011121314151617
  1. # Copyright Broadcom, Inc. All Rights Reserved.
  2. # SPDX-License-Identifier: APACHE-2.0
  3. # As the tests are done in an external kubectl container we can only test the endpoint and the
  4. # deployed test run
  5. command:
  6. # Check with kubectl that the deployed test run finished
  7. check-testrun:
  8. exec: PATH=/opt/bitnami/kubectl/bin:$PATH kubectl get testruns
  9. exit-status: 0
  10. stdout:
  11. - /testrun-sample.*finished/
  12. http:
  13. http://grafana-k6-operator-metrics:{{ .Vars.metrics.service.ports.metrics }}/metrics:
  14. status: 200
  15. body:
  16. - workqueue_work_duration_second