Skip to content

Commit

Permalink
Fix MilestoneDB tests not exiting
Browse files Browse the repository at this point in the history
On newer test runners, the MilestoneDB tests may not exit properly when
backed by a real database.

This is because - in some of the nested tests - we `create` a new
database without closing the first database, which never gets destroyed
and therefore the tests never exit, since a socket to the database is
left open.

This change removes these nested `create` calls to avoid this hanging
database state.
  • Loading branch information
Alec Gibson committed Nov 26, 2020
1 parent 061c421 commit cf99168
Showing 1 changed file with 381 additions and 365 deletions.
Loading

0 comments on commit cf99168

Please sign in to comment.