From f4943db5640f43eb354d332fb69b7bf3e77dd2d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Luka=C5=A1=C3=ADk?= Date: Mon, 21 Jul 2025 12:59:52 +0200 Subject: [PATCH] ci: remove unnecessary test harness This TestMain() is equivalent to not having any TestMain() at all. This is the only such instance in whole repo. Kubernetes-commit: 7e5aafcb164db5135a4d18ee4661c8813f2cc908 --- util/workqueue/main_test.go | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 util/workqueue/main_test.go diff --git a/util/workqueue/main_test.go b/util/workqueue/main_test.go deleted file mode 100644 index 04d5817e..00000000 --- a/util/workqueue/main_test.go +++ /dev/null @@ -1,26 +0,0 @@ -/* -Copyright 2018 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 workqueue - -import ( - "os" - "testing" -) - -func TestMain(m *testing.M) { - os.Exit(m.Run()) -}