This PR adds an integration test to check whether the kubeflow-dashboard is accessible. It simply sends an HTTP request to the correct Service IP+port.
The requirements-integration.in file has been updated to add a dependency to aiohttp.
How to test that the test fails when the dashboard is inaccessible:
Closes: #189
This PR adds an integration test to check whether the kubeflow-dashboard is accessible. It simply sends an HTTP request to the correct Service IP+port.
The
requirements-integration.in
file has been updated to add a dependency toaiohttp
.How to test that the test fails when the dashboard is inaccessible:
metadata.yaml
andsrc/charm.py
based on this commit: https://github.com/canonical/kubeflow-dashboard-operator/commit/ce0be869da66cb014a79ffa63aef63b1dbd409b6.