diff --git a/test/integration/apiserver/openapi/main_test.go b/test/integration/apiserver/openapi/main_test.go new file mode 100644 index 00000000000..9f09d8336c6 --- /dev/null +++ b/test/integration/apiserver/openapi/main_test.go @@ -0,0 +1,27 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package openapi + +import ( + "testing" + + "k8s.io/kubernetes/test/integration/framework" +) + +func TestMain(m *testing.M) { + framework.EtcdMain(m.Run) +} diff --git a/test/integration/apiserver/openapi_test.go b/test/integration/apiserver/openapi/openapi_test.go similarity index 99% rename from test/integration/apiserver/openapi_test.go rename to test/integration/apiserver/openapi/openapi_test.go index 6d320f42779..32c93234da3 100644 --- a/test/integration/apiserver/openapi_test.go +++ b/test/integration/apiserver/openapi/openapi_test.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package apiserver +package openapi import ( "encoding/json" diff --git a/test/integration/apiserver/openapiv3_test.go b/test/integration/apiserver/openapi/openapiv3_test.go similarity index 99% rename from test/integration/apiserver/openapiv3_test.go rename to test/integration/apiserver/openapi/openapiv3_test.go index 72ab788809d..a3ffa891459 100644 --- a/test/integration/apiserver/openapiv3_test.go +++ b/test/integration/apiserver/openapi/openapiv3_test.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package apiserver +package openapi import ( "context"