Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kravciak committed Oct 11, 2023
1 parent d3e951d commit 5d85b6d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/e2e/60-telemetry.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { PolicyServersPage } from './pages/policyservers.page';
* Expect timeout has to be increased after telemetry installation on local cluster
*
*/
test('Install opentelemetry & jaeger', async ({ page, ui }) => {
test('Install opentelemetry & jaeger', async ({ page }) => {
const apps = new RancherAppsPage(page)
const otelChart: Chart = { title: 'opentelemetry-operator', name: 'opentelemetry-operator', namespace: 'open-telemetry', version: '0.38.0', check: 'opentelemetry-operator' }
const jaegerChart: Chart = { title: 'Jaeger Operator', namespace: 'jaeger', check: "jaeger-operator" }
Expand All @@ -22,7 +22,7 @@ test('Install opentelemetry & jaeger', async ({ page, ui }) => {
})
});

test('Enable kubewarden tracing', async ({ page, ui }) => {
test('Enable tracing in Kubewarden', async ({ page, ui }) => {
const apps = new RancherAppsPage(page)
await apps.updateApp('rancher-kubewarden-controller', d => {
d.telemetry.enabled = true
Expand All @@ -48,6 +48,8 @@ test('Check traces are visible', async ({ page, ui }) => {

// Create trace log line
await ui.shell('k run tracing-privpod --image=nginx:alpine --privileged')
console.warn('Workaround: Opentelemetry not installed warning before I generate traces')
await page.reload()

// Check logs on policy server
await ui.getRow('default').open()
Expand Down

0 comments on commit 5d85b6d

Please sign in to comment.