Skip to content

Commit

Permalink
fixup: e2e test after merging #4195 (allow-lowercase-workload) (#4202) (
Browse files Browse the repository at this point in the history
  • Loading branch information
andriisoldatenko authored Dec 16, 2024
1 parent 9e97070 commit 8dbf959
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/features/applicationmonitoring/metadata_enrichment.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func podHasOnlyMetadataEnrichmentInitContainer(samplePod *sample.App) features.F
func assessPodHasMetadataEnrichmentFile(ctx context.Context, t *testing.T, resource *resources.Resources, testPod corev1.Pod) {
enrichmentMetadata := getMetadataEnrichmentMetadataFromPod(ctx, t, resource, testPod)

assert.Equal(t, "Pod", enrichmentMetadata.WorkloadKind)
assert.Equal(t, "pod", enrichmentMetadata.WorkloadKind)
assert.Equal(t, testPod.Name, enrichmentMetadata.WorkloadName)
}

Expand Down Expand Up @@ -235,7 +235,7 @@ func assessDeploymentHasMetadataEnrichmentFile(ctx context.Context, t *testing.T
return func(pod corev1.Pod) {
enrichmentMetadata := getMetadataEnrichmentMetadataFromPod(ctx, t, resource, pod)

assert.Equal(t, "Deployment", enrichmentMetadata.WorkloadKind)
assert.Equal(t, "deployment", enrichmentMetadata.WorkloadKind)
assert.Equal(t, deploymentName, enrichmentMetadata.WorkloadName)
}
}
Expand Down

0 comments on commit 8dbf959

Please sign in to comment.