Skip to content

Commit

Permalink
fix: remove cron stats data to stop jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
jahzielv committed Dec 17, 2024
1 parent 35f0741 commit 776d47e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions server/service/integration_mdm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,11 @@ func (s *integrationMDMTestSuite) TearDownTest() {
return err
})

mysql.ExecAdhocSQL(t, s.ds, func(q sqlx.ExtContext) error {
_, err := q.ExecContext(ctx, "DELETE FROM cron_stats")
return err
})

// clear any host dep assignments
mysql.ExecAdhocSQL(t, s.ds, func(q sqlx.ExtContext) error {
_, err := q.ExecContext(ctx, "DELETE FROM host_dep_assignments")
Expand Down

0 comments on commit 776d47e

Please sign in to comment.