Skip to content

Commit

Permalink
testing without test
Browse files Browse the repository at this point in the history
  • Loading branch information
taniyourstruly committed Sep 4, 2024
1 parent a4f19e2 commit 68d1686
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions apis/v1beta1/collector_webhook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -920,18 +920,6 @@ func TestOTELColValidatingWebhook(t *testing.T) {
},
expectedErr: "targetCPUUtilization should be greater than 0 and less than 100",
},
{
name: "autoscaler minReplicas is less than maxReplicas",
otelcol: v1beta1.OpenTelemetryCollector{
Spec: v1beta1.OpenTelemetryCollectorSpec{
Autoscaler: &v1beta1.AutoscalerSpec{
MaxReplicas: &one,
MinReplicas: &five,
},
},
},
expectedErr: "the OpenTelemetry Spec autoscale configuration is incorrect, minReplicas must not be greater than maxReplicas",
},
{
name: "invalid autoscaler metric type",
otelcol: v1beta1.OpenTelemetryCollector{

Check failure on line 925 in apis/v1beta1/collector_webhook_test.go

View workflow job for this annotation

GitHub Actions / Code standards (linting)

undefined: OpenTelemetryCollector
Expand Down

0 comments on commit 68d1686

Please sign in to comment.