Skip to content

Commit

Permalink
fix: add assertions to workload lifecycle
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamir David authored and Tamir David committed Oct 30, 2024
1 parent af52415 commit 632ddc5
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 9 deletions.
8 changes: 1 addition & 7 deletions tests/e2e/cli-upgrade/assert-instrumented-and-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -324,13 +324,7 @@ status:
- key: process.pid
(value != null): true
- key: telemetry.sdk.language
value: python
- key: k8s.namespace.name
(value != null): true
- key: k8s.container.name
(value != null): true
- key: k8s.pod.name
(value != null): true
value: python
---
apiVersion: odigos.io/v1alpha1
kind: InstrumentationInstance
Expand Down
22 changes: 20 additions & 2 deletions tests/e2e/workload-lifecycle/01-assert-instrumented.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,12 @@ status:
(value != null): true
- key: telemetry.sdk.language
value: python
- key: k8s.namespace.name
(value != null): true
- key: k8s.container.name
(value != null): true
- key: k8s.pod.name
(value != null): true
---
apiVersion: odigos.io/v1alpha1
kind: InstrumentationInstance
Expand All @@ -385,7 +391,13 @@ status:
- key: process.pid
(value != null): true
- key: telemetry.sdk.language
value: python
value: python
- key: k8s.namespace.name
(value != null): true
- key: k8s.container.name
(value != null): true
- key: k8s.pod.name
(value != null): true
---
apiVersion: odigos.io/v1alpha1
kind: InstrumentationInstance
Expand All @@ -401,4 +413,10 @@ status:
- key: process.pid
(value != null): true
- key: telemetry.sdk.language
value: python
value: python
- key: k8s.namespace.name
(value != null): true
- key: k8s.container.name
(value != null): true
- key: k8s.pod.name
(value != null): true

0 comments on commit 632ddc5

Please sign in to comment.