fed: Create integration test fixture for api
This commit is contained in:
@@ -17,6 +17,7 @@ limitations under the License.
|
||||
package main
|
||||
|
||||
import (
|
||||
"k8s.io/apimachinery/pkg/util/wait"
|
||||
"k8s.io/kubernetes/federation/cmd/federation-apiserver/app"
|
||||
"k8s.io/kubernetes/federation/cmd/federation-apiserver/app/options"
|
||||
)
|
||||
@@ -30,7 +31,7 @@ func NewFederationAPIServer() *Server {
|
||||
SimpleUsage: "federation-apiserver",
|
||||
Long: "The API entrypoint for the federation control plane",
|
||||
Run: func(_ *Server, args []string) error {
|
||||
return app.Run(s)
|
||||
return app.Run(s, wait.NeverStop)
|
||||
},
|
||||
}
|
||||
s.AddFlags(hks.Flags())
|
||||
|
Reference in New Issue
Block a user