From 6e19d5ac7940ba7ddbda0a2b944744c68788a727 Mon Sep 17 00:00:00 2001 From: Kensei Nakada Date: Thu, 7 Nov 2024 21:08:59 +0900 Subject: [PATCH] fix: move the queueing integration tests to another package to address the timeout issue --- .../scheduler/queueing/main_test.go | 27 +++++++++++++++++++ .../scheduler/{ => queueing}/queue_test.go | 0 2 files changed, 27 insertions(+) create mode 100644 test/integration/scheduler/queueing/main_test.go rename test/integration/scheduler/{ => queueing}/queue_test.go (100%) diff --git a/test/integration/scheduler/queueing/main_test.go b/test/integration/scheduler/queueing/main_test.go new file mode 100644 index 00000000000..acc9fa408cd --- /dev/null +++ b/test/integration/scheduler/queueing/main_test.go @@ -0,0 +1,27 @@ +/* +Copyright 2024 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 scheduler + +import ( + "testing" + + "k8s.io/kubernetes/test/integration/framework" +) + +func TestMain(m *testing.M) { + framework.EtcdMain(m.Run) +} diff --git a/test/integration/scheduler/queue_test.go b/test/integration/scheduler/queueing/queue_test.go similarity index 100% rename from test/integration/scheduler/queue_test.go rename to test/integration/scheduler/queueing/queue_test.go