Skip to content

Commit

Permalink
close connections before deleting test database, for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Feb 15, 2011
1 parent cef4936 commit 31a3b80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions master/buildbot/db/pool.py
Expand Up @@ -175,6 +175,8 @@ def test(select_from_sqlite_master=False):
curs1.execute("SELECT * from sqlite_master")
curs1.execute("SELECT * from foo")
finally:
conn1.close()
conn2.close()
os.unlink(dbfile)

try:
Expand Down

0 comments on commit 31a3b80

Please sign in to comment.