File: 0006-Extend-timeout-limit-to-pass-test_backup-test.patch

package info (click to toggle)
calibre 8.5.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 431,828 kB
  • sloc: python: 450,752; ansic: 87,218; javascript: 57,667; cpp: 18,719; xml: 1,244; sh: 935; sql: 735; objc: 330; makefile: 68; sed: 3
file content (22 lines) | stat: -rw-r--r-- 800 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: YOKOTA Hiroshi <yokota.hgml@gmail.com>
Date: Fri, 7 Apr 2023 16:27:58 +0900
Subject: Extend timeout limit to pass "test_backup" test

Forwarded: not-needed
---
 src/calibre/db/tests/writing.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/calibre/db/tests/writing.py b/src/calibre/db/tests/writing.py
index e43af82..4cb5139 100644
--- a/src/calibre/db/tests/writing.py
+++ b/src/calibre/db/tests/writing.py
@@ -412,7 +412,7 @@ class WritingTest(BaseTest):
         from calibre.db.restore import Restore
         restorer = Restore(cl)
         restorer.start()
-        restorer.join(60)
+        restorer.join(600)
         af(restorer.is_alive())
         cache = self.init_cache(cl)
         ae(before, {f:cache.all_field_for(f, book_ids) for f in tested_fields})