Skip to content

Commit

Permalink
ultra long wait
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonKChow authored Oct 17, 2024
1 parent 81ac9ea commit 3089a40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/server/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ def setUp(self):
def tearDown(self):
self.s.cleanup()

# sleep to ensure db is closed
time.sleep(0.2)

# cleanup the db
if self.s.db is not None:
# sleep to ensure db is closed
time.sleep(5)

self.s.db.delete_db()

def dummy_create_setup(self, server, request=None):
Expand Down

0 comments on commit 3089a40

Please sign in to comment.