mirror of https://github.com/k3s-io/k3s
Move k/test/integration/federation to k/federation/test/integration
parent
45d73a1c70
commit
a570d316b8
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||
limitations under the License.
|
||||
*/
|
||||
|
||||
package federation
|
||||
package integration
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
|
@ -32,7 +32,7 @@ import (
|
|||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/runtime/schema"
|
||||
fed_v1b1 "k8s.io/kubernetes/federation/apis/federation/v1beta1"
|
||||
"k8s.io/kubernetes/test/integration/federation/framework"
|
||||
"k8s.io/kubernetes/federation/test/integration/framework"
|
||||
)
|
||||
|
||||
// List of group versions that are enabled by default.
|
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||
limitations under the License.
|
||||
*/
|
||||
|
||||
package federation
|
||||
package integration
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
@ -26,7 +26,7 @@ import (
|
|||
federationapi "k8s.io/kubernetes/federation/apis/federation/v1beta1"
|
||||
"k8s.io/kubernetes/federation/pkg/federatedtypes"
|
||||
"k8s.io/kubernetes/federation/pkg/federatedtypes/crudtester"
|
||||
"k8s.io/kubernetes/test/integration/federation/framework"
|
||||
"k8s.io/kubernetes/federation/test/integration/framework"
|
||||
)
|
||||
|
||||
// TestFederationCRUD validates create/read/update/delete operations for federated resource types.
|
|
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
|||
limitations under the License.
|
||||
*/
|
||||
|
||||
package federation
|
||||
package integration
|
||||
|
||||
import (
|
||||
"testing"
|
|
@ -62,6 +62,7 @@ federation/registry/cluster/etcd
|
|||
federation/test/e2e
|
||||
federation/test/e2e/framework
|
||||
federation/test/e2e/upgrades
|
||||
federation/test/integration/framework
|
||||
pkg/api/endpoints
|
||||
pkg/api/helper
|
||||
pkg/api/helper/qos
|
||||
|
@ -812,7 +813,6 @@ test/images/resource-consumer/controller
|
|||
test/integration
|
||||
test/integration/auth
|
||||
test/integration/evictions
|
||||
test/integration/federation/framework
|
||||
test/integration/framework
|
||||
test/integration/master
|
||||
test/integration/replicaset
|
||||
|
|
|
@ -49,6 +49,9 @@ kube::test::find_integration_test_dirs() {
|
|||
find vendor/k8s.io/apiextensions-apiserver/test/integration/ -name '*_test.go' -print0 \
|
||||
| xargs -0n1 dirname | sed "s|^|${KUBE_GO_PACKAGE}/|" \
|
||||
| LC_ALL=C sort -u
|
||||
find federation/test/integration/ -name '*_test.go' -print0 \
|
||||
| xargs -0n1 dirname | sed "s|^|${KUBE_GO_PACKAGE}/|" \
|
||||
| LC_ALL=C sort -u
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
@ -61,6 +61,7 @@ kube::test::find_dirs() {
|
|||
-o -path './third_party/*' \
|
||||
-o -path './staging/*' \
|
||||
-o -path './vendor/*' \
|
||||
-o -path './federation/test/*' \
|
||||
\) -prune \
|
||||
\) -name '*_test.go' -print0 | xargs -0n1 dirname | sed "s|^\./|${KUBE_GO_PACKAGE}/|" | LC_ALL=C sort -u
|
||||
|
||||
|
|
Loading…
Reference in New Issue