Skip to content

Commit

Permalink
add cleanup for TestFullAppSimulation
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Oct 3, 2024
1 parent c07d519 commit 4f3ebbe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var (
FlagBlockSizeValue int
FlagLeanValue bool
FlagCommitValue bool
FlagOnOperationValue bool
FlagOnOperationValue bool // TODO: Remove in favor of binary search for invariant violation
FlagAllInvariantsValue bool

FlagEnabledValue bool
Expand Down
4 changes: 4 additions & 0 deletions tests/simulation/sim_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,4 +209,8 @@ func TestFullAppSimulation(t *testing.T) {
}

simutils.PrintStats(db)

// Clean up resources
require.NoError(t, db.Close())
require.NoError(t, os.RemoveAll(dir))
}

0 comments on commit 4f3ebbe

Please sign in to comment.