Skip to content

Commit

Permalink
fix(test): Fix scalingengine_sqldb_test.go
Browse files Browse the repository at this point in the history
# Issue

The ScalingEngineSqldb tests had become flaky

# Fix

A well-meaning but harmfull test cleanup function was removed.
  • Loading branch information
silvestre committed Aug 27, 2024
1 parent be7adda commit 7755248
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/autoscaler/db/sqldb/scalingengine_sqldb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,10 @@ var _ = Describe("ScalingEngineSqldb", func() {
cleanupForApp(appId)
cleanupForApp(appId2)
cleanupForApp(appId3)
cleanUpCooldownTable()
DeferCleanup(func() {
cleanupForApp(appId)
cleanupForApp(appId2)
cleanupForApp(appId3)
cleanUpCooldownTable()
})
})

Expand Down

0 comments on commit 7755248

Please sign in to comment.