diff --git a/cps/server.py b/cps/server.py index 8a740b28..ed5913bb 100644 --- a/cps/server.py +++ b/cps/server.py @@ -288,5 +288,7 @@ class WebServer(object): if _GEVENT: self.wsgiserver.close() else: - self.wsgiserver.call_later(1.0, self.wsgiserver.stop) - # self.wsgiserver.add_callback() + if restart: + self.wsgiserver.call_later(1.0, self.wsgiserver.stop) + else: + self.wsgiserver.add_callback_from_signal(self.wsgiserver.stop) diff --git a/test/Calibre-Web TestSummary_Linux.html b/test/Calibre-Web TestSummary_Linux.html index a1676791..31b7c621 100644 --- a/test/Calibre-Web TestSummary_Linux.html +++ b/test/Calibre-Web TestSummary_Linux.html @@ -37,20 +37,20 @@
-

Start Time: 2023-10-05 14:17:33

+

Start Time: 2023-10-11 19:32:23

-

Stop Time: 2023-10-05 20:50:36

+

Stop Time: 2023-10-12 01:29:49

-

Duration: 5h 26 min

+

Duration: 4h 56 min

@@ -234,11 +234,11 @@ - + TestBackupMetadata 22 - 22 - 0 + 21 + 1 0 0 @@ -248,11 +248,31 @@ - +
TestBackupMetadata - test_backup_all
- PASS + +
+ FAIL +
+ + + + @@ -471,12 +491,12 @@ - + TestCli 13 - 9 - 3 - 1 + 13 + 0 + 0 0 Detail @@ -503,92 +523,20 @@ - +
TestCli - test_change_password
- -
- FAIL -
- - - - + PASS - +
TestCli - test_cli_SSL_files
- -
- FAIL -
- - - - + PASS @@ -602,45 +550,11 @@ AssertionError: 'Error' is not None : HTTPS Connection could not establi - +
TestCli - test_cli_different_settings_database
- -
- ERROR -
- - - - + PASS @@ -690,47 +604,11 @@ receiveMessage@chrome://remote/content/marionette/actors/MarionetteEventsParent. - +
TestCli - test_settingsdb_not_writeable
- -
- FAIL -
- - - - + PASS @@ -1114,11 +992,11 @@ AssertionError: True is not false : Inital config failed with nonwriteable datab - + TestEbookConvertGDriveKepubify 3 - 2 - 1 + 3 + 0 0 0 @@ -1137,33 +1015,11 @@ AssertionError: True is not false : Inital config failed with nonwriteable datab - +
TestEbookConvertGDriveKepubify - test_convert_only
- -
- FAIL -
- - - - + PASS @@ -2140,12 +1996,12 @@ IndexError: list index out of range - + TestEditBooksOnGdrive 18 - 14 - 1 - 3 + 18 + 0 + 0 0 Detail @@ -2280,153 +2136,38 @@ IndexError: list index out of range - +
TestEditBooksOnGdrive - test_edit_series
- -
- ERROR -
- - - - + PASS - +
TestEditBooksOnGdrive - test_edit_title
- -
- ERROR -
- - - - + PASS - +
TestEditBooksOnGdrive - test_upload_book_lit
- -
- ERROR -
- - - - + PASS - +
TestEditBooksOnGdrive - test_watch_metadata
- -
- FAIL -
- - - - + PASS @@ -3882,12 +3623,12 @@ AssertionError: False is not true - + TestReader 6 - 5 + 6 + 0 0 - 1 0 Detail @@ -3896,47 +3637,11 @@ AssertionError: False is not true - +
TestReader - test_comic_MACOS_files
- -
- ERROR -
- - - - + PASS @@ -4340,11 +4045,11 @@ receiveMessage@chrome://remote/content/marionette/actors/MarionetteCommandsChild - + TestThumbnails 8 - 7 - 0 + 6 + 1 0 1 @@ -4417,11 +4122,31 @@ receiveMessage@chrome://remote/content/marionette/actors/MarionetteCommandsChild - +
TestThumbnails - test_sideloaded_book
- PASS + +
+ FAIL +
+ + + + @@ -5496,9 +5221,9 @@ receiveMessage@chrome://remote/content/marionette/actors/MarionetteCommandsChild Total 462 - 442 - 5 - 6 + 450 + 2 + 1 9   @@ -5677,7 +5402,7 @@ receiveMessage@chrome://remote/content/marionette/actors/MarionetteCommandsChild google-api-python-client - 2.102.0 + 2.103.0 TestBackupMetadataGdrive @@ -5707,7 +5432,7 @@ receiveMessage@chrome://remote/content/marionette/actors/MarionetteCommandsChild google-api-python-client - 2.102.0 + 2.103.0 TestCliGdrivedb @@ -5737,7 +5462,7 @@ receiveMessage@chrome://remote/content/marionette/actors/MarionetteCommandsChild google-api-python-client - 2.102.0 + 2.103.0 TestEbookConvertCalibreGDrive @@ -5767,7 +5492,7 @@ receiveMessage@chrome://remote/content/marionette/actors/MarionetteCommandsChild google-api-python-client - 2.102.0 + 2.103.0 TestEbookConvertGDriveKepubify @@ -5821,7 +5546,7 @@ receiveMessage@chrome://remote/content/marionette/actors/MarionetteCommandsChild google-api-python-client - 2.102.0 + 2.103.0 TestEditAuthorsGdrive @@ -5857,7 +5582,7 @@ receiveMessage@chrome://remote/content/marionette/actors/MarionetteCommandsChild google-api-python-client - 2.102.0 + 2.103.0 TestEditBooksOnGdrive @@ -5899,7 +5624,7 @@ receiveMessage@chrome://remote/content/marionette/actors/MarionetteCommandsChild google-api-python-client - 2.102.0 + 2.103.0 TestSetupGdrive @@ -5935,7 +5660,7 @@ receiveMessage@chrome://remote/content/marionette/actors/MarionetteCommandsChild python-Levenshtein - 0.22.0 + 0.23.0 TestGoodreads @@ -5989,7 +5714,7 @@ receiveMessage@chrome://remote/content/marionette/actors/MarionetteCommandsChild