Skip to content

Commit

Permalink
[k8s] Skip k8s e2e (open-telemetry#33521)
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerHelmuth committed Jun 12, 2024
1 parent af5997f commit d3873bb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions processor/k8sattributesprocessor/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ func newExpectedValue(mode int, value string) *expectedValue {
// make docker-otelcontribcol
// KUBECONFIG=/tmp/kube-config-otelcol-e2e-testing kind load docker-image otelcontribcol:latest
func TestE2E_ClusterRBAC(t *testing.T) {
t.Skip("skipping flaky test, see https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33520")

testDir := filepath.Join("testdata", "e2e", "clusterrbac")

k8sClient, err := k8stest.NewK8sClient(testKubeConfig)
Expand Down Expand Up @@ -420,6 +422,8 @@ func TestE2E_ClusterRBAC(t *testing.T) {

// Test with `filter::namespace` set and only role binding to collector's SA. We can't get node and namespace labels/annotations.
func TestE2E_NamespacedRBAC(t *testing.T) {
t.Skip("skipping flaky test, see https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33520")

testDir := filepath.Join("testdata", "e2e", "namespacedrbac")

k8sClient, err := k8stest.NewK8sClient(testKubeConfig)
Expand Down Expand Up @@ -559,6 +563,8 @@ func TestE2E_NamespacedRBAC(t *testing.T) {
// Test with `filter::namespace` set, role binding for namespace-scoped objects (pod, replicaset) and clusterrole
// binding for node and namespace objects.
func TestE2E_MixRBAC(t *testing.T) {
t.Skip("skipping flaky test, see https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33520")

testDir := filepath.Join("testdata", "e2e", "mixrbac")

k8sClient, err := k8stest.NewK8sClient(testKubeConfig)
Expand Down
1 change: 1 addition & 0 deletions receiver/k8sclusterreceiver/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const testKubeConfig = "/tmp/kube-config-otelcol-e2e-testing"
// make docker-otelcontribcol
// KUBECONFIG=/tmp/kube-config-otelcol-e2e-testing kind load docker-image otelcontribcol:latest
func TestE2E(t *testing.T) {
t.Skip("skipping flaky test, see https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33520")

var expected pmetric.Metrics
expectedFile := filepath.Join("testdata", "e2e", "expected.yaml")
Expand Down
1 change: 1 addition & 0 deletions receiver/k8sobjectsreceiver/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const (
)

func TestE2E(t *testing.T) {
t.Skip("skipping flaky test, see https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33520")

k8sClient, err := k8stest.NewK8sClient(testKubeConfig)
require.NoError(t, err)
Expand Down
1 change: 1 addition & 0 deletions receiver/kubeletstatsreceiver/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import (
const testKubeConfig = "/tmp/kube-config-otelcol-e2e-testing"

func TestE2E(t *testing.T) {
t.Skip("skipping flaky test, see https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33520")

var expected pmetric.Metrics
expectedFile := filepath.Join("testdata", "e2e", "expected.yaml")
Expand Down

0 comments on commit d3873bb

Please sign in to comment.