Skip to content

Commit 1a8c6fc

Browse files
committed
Skip k8s namespace tests
1 parent 3d058ca commit 1a8c6fc

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

integration-tests/k8s_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import (
1212
)
1313

1414
func TestK8sNamespace(t *testing.T) {
15+
t.Skip("Skipping test")
1516
if testing.Short() {
1617
t.Skip("Not running k8s in short mode")
1718
}

integration-tests/suites/k8s/namespace.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414

1515
type NamespaceTest struct {
1616
containerID string
17-
expectecNamespace string
17+
expectedNamespace string
1818
}
1919

2020
type K8sNamespaceTestSuite struct {
@@ -47,15 +47,15 @@ func (k *K8sNamespaceTestSuite) SetupSuite() {
4747

4848
k.tests = append(k.tests, NamespaceTest{
4949
containerID: k.Collector().ContainerID(),
50-
expectecNamespace: collector.TEST_NAMESPACE,
50+
expectedNamespace: collector.TEST_NAMESPACE,
5151
})
5252

5353
k.createTargetNamespace()
5454
nginxID := k.launchNginxPod()
5555
k.Require().Len(nginxID, 12)
5656
k.tests = append(k.tests, NamespaceTest{
5757
containerID: nginxID,
58-
expectecNamespace: NAMESPACE,
58+
expectedNamespace: NAMESPACE,
5959
})
6060
}
6161

@@ -81,7 +81,7 @@ func (k *K8sNamespaceTestSuite) TestK8sNamespace() {
8181
k.Require().True(ok)
8282
namespace, ok := namespaceInterface.(string)
8383
k.Require().True(ok)
84-
k.Require().Equal(namespace, tt.expectecNamespace)
84+
k.Require().Equal(namespace, tt.expectedNamespace)
8585
}
8686
}
8787

0 commit comments

Comments
 (0)