From 77552488e7d8b23f02f005b3026ad73cb3234a08 Mon Sep 17 00:00:00 2001 From: Silvestre Zabala Date: Tue, 27 Aug 2024 13:16:42 +0200 Subject: [PATCH] fix(test): Fix `scalingengine_sqldb_test.go` # Issue The ScalingEngineSqldb tests had become flaky # Fix A well-meaning but harmfull test cleanup function was removed. --- src/autoscaler/db/sqldb/scalingengine_sqldb_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/autoscaler/db/sqldb/scalingengine_sqldb_test.go b/src/autoscaler/db/sqldb/scalingengine_sqldb_test.go index ccf880ecb3..f3c5b41546 100644 --- a/src/autoscaler/db/sqldb/scalingengine_sqldb_test.go +++ b/src/autoscaler/db/sqldb/scalingengine_sqldb_test.go @@ -73,12 +73,10 @@ var _ = Describe("ScalingEngineSqldb", func() { cleanupForApp(appId) cleanupForApp(appId2) cleanupForApp(appId3) - cleanUpCooldownTable() DeferCleanup(func() { cleanupForApp(appId) cleanupForApp(appId2) cleanupForApp(appId3) - cleanUpCooldownTable() }) })