Skip to content

Commit 5b2accf

Browse files
committed
Adds e2e tag in all test source files
1 parent 3f97c27 commit 5b2accf

File tree

6 files changed

+66
-3
lines changed

6 files changed

+66
-3
lines changed

test/e2e/e2e_suite_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build e2e
2+
// +build e2e
3+
14
/*
25
Copyright 2025.
36

test/e2e/e2e_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
//go:build e2e
2+
// +build e2e
3+
14
/*
25
Copyright 2025.
36
Licensed under the Apache License, Version 2.0 (the "License");

test/utils/conditions.go

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
//go:build e2e
2+
// +build e2e
3+
4+
/*
5+
Copyright 2025.
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
*/
18+
119
package utils
220

321
import (

test/utils/dynamic_resources.go

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,28 @@
1+
//go:build e2e
2+
// +build e2e
3+
4+
/*
5+
Copyright 2025.
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
*/
18+
119
package utils
220

321
import (
422
"bytes"
523
"context"
24+
"testing"
25+
626
"github.com/stretchr/testify/require"
727
k8serrors "k8s.io/apimachinery/pkg/api/errors"
828
"k8s.io/apimachinery/pkg/api/meta"
@@ -14,7 +34,6 @@ import (
1434
"k8s.io/client-go/dynamic"
1535
"k8s.io/client-go/kubernetes"
1636
"k8s.io/client-go/restmapper"
17-
"testing"
1837
)
1938

2039
type DynamicResourceLoader struct {

test/utils/external_secrets.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1+
//go:build e2e
2+
// +build e2e
3+
14
/*
25
Copyright 2025.
3-
46
Licensed under the Apache License, Version 2.0 (the "License");
57
you may not use this file except in compliance with the License.
68
You may obtain a copy of the License at
79
8-
http://www.apache.org/licenses/LICENSE-2.0
10+
http://www.apache.org/licenses/LICENSE-2.0
911
1012
Unless required by applicable law or agreed to in writing, software
1113
distributed under the License is distributed on an "AS IS" BASIS,

test/utils/kube_client.go

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
//go:build e2e
2+
// +build e2e
3+
4+
/*
5+
Copyright 2025.
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
*/
18+
119
package utils
220

321
import (

0 commit comments

Comments
 (0)