libreoffice-online/test
Ashod Nakashian af77b68d97 wsd: limit store failure when unloading
When saving and/or uploading fails, we have
to give up after a certain number of retries.

A new config entry, per_document.limit_store_failures,
controls the number of consecutive failures
before giving up. This prevents locking-up
documents while uploading.

Includes a new unit-test.

Change-Id: I1296df1691fcaa982df9e861d34cb946a2eda860
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2022-02-09 19:35:19 -05:00
..
data wsd: test: reduce UnitWOPISlow document size 2022-02-04 10:26:49 -05:00
traces rename wsd protocol command 'loolclient' to 'coolclient' 2021-11-17 11:59:35 +01:00
.gitignore
countcoolkits.hpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
DeltaTests.cpp
fakesockettest.cpp
helpers.hpp wsd: test: kill poco in pasteBlank 2022-01-11 09:28:03 +01:00
httpcrashtest.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
HttpRequestTests.cpp wsd: chunked transfer and tests 2021-09-26 17:02:01 -04:00
HttpTestServer.hpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
HttpWhiteBoxTests.cpp wsd: test: correct include order for operator resolution 2021-09-27 09:25:40 -04:00
httpwstest.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
integration-http-server.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
lokassert.hpp wsd: test: support logging passing test assertions 2021-11-23 09:31:46 +01:00
Makefile.am wsd: limit store failure when unloading 2022-02-09 19:35:19 -05:00
run_unit.sh.in rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
test.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
test.hpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
testlog.hpp test: improved state-machine helpers 2022-02-04 10:26:49 -05:00
TileCacheTests.cpp wsd: test: improve and disable TileCacheTests::testTileInvalidatedOutside 2022-01-11 09:28:03 +01:00
TileQueueTests.cpp wsd: test: more informative string assertion in TileQueueTests 2021-11-23 09:31:46 +01:00
UnitAdmin.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitBadDocLoad.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitCalc.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitClient.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitClose.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitConvert.cpp test: rename 'lool' -> 'cool' 2021-11-17 09:17:16 +01:00
UnitCopyPaste.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitCursor.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitEachView.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitFuzz.cpp Move LOOLWebSocket into test/ - where it can be slowly removed. 2021-10-11 13:40:20 +01:00
UnitHosting.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitHTTP.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitHTTP.hpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitInsertDelete.cpp wsd: test: kill poco in pasteBlank 2022-01-27 12:58:18 +03:00
UnitLargePaste.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitLoad.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitLoadTorture.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitOAuth.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitPasswordProtected.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitPaste.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitPrefork.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitRenderingOptions.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitRenderSearchResult.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitRenderShape.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitSession.cpp wsd: test: killpoco web-sockets in testHandshake 2021-11-23 09:31:46 +01:00
UnitStorage.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitTiffLoad.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitTileCache.cpp
UnitTimeout.cpp
UnitTyping.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitUNOCommand.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitWOPI.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitWOPIAsyncUpload_Close.cpp wsd: test: improved test state machine 2022-01-11 09:28:03 +01:00
UnitWOPIAsyncUpload_Modify.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitWOPIAsyncUpload_ModifyClose.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitWOPIDocumentConflict.cpp wsd: test: add SaveOnExit test 2022-02-08 20:46:01 -05:00
UnitWOPIFailUpload.cpp wsd: limit store failure when unloading 2022-02-09 19:35:19 -05:00
UnitWOPIFileUrl.cpp test: modernize http response in tests and simplify 2022-02-04 10:26:49 -05:00
UnitWOPIHttpHeaders.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitWOPIHttpRedirect.cpp test: modernize http response in tests and simplify 2022-02-04 10:26:49 -05:00
UnitWOPIHttpRedirectLoop.cpp Rename fileId to redirectionCount 2021-07-12 08:44:39 +02:00
UnitWOPILoadEncoded.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitWOPILock.cpp wsd: test: stabilize UnitWOPILock 2022-02-04 10:26:49 -05:00
UnitWopiOwnertermination.cpp wsd: test: assertPutFileRequest returns the http response 2021-05-02 22:35:39 -04:00
UnitWOPIRenameFile.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitWOPISaveAs.cpp rename: remaining lool->cool changes 2021-11-18 14:14:11 +01:00
UnitWOPISaveAsWithEncodedFileName.cpp unit test for save-as files with encoding characters in the name 2021-12-06 12:19:38 +03:00
UnitWOPISaveOnExit.cpp wsd: test: add SaveOnExit test 2022-02-08 20:46:01 -05:00
UnitWOPISlow.cpp test: modernize http response in tests and simplify 2022-02-04 10:26:49 -05:00
UnitWOPITemplate.cpp test: modernize http response in tests and simplify 2022-02-04 10:26:49 -05:00
UnitWOPIVersionRestore.cpp wsd: test: assertPutFileRequest returns the http response 2021-05-02 22:35:39 -04:00
UnitWOPIWatermark.cpp test: modernize http response in tests and simplify 2022-02-04 10:26:49 -05:00
UtilTests.cpp make stringifyHexLine() simply work on std::string 2021-12-07 13:44:40 +01:00
WhiteBoxTests.cpp wsd: add endsWith helper with tests 2022-01-11 09:28:03 +01:00
WopiProofTests.cpp
WopiTestServer.hpp test: modernize http response in tests and simplify 2022-02-04 10:26:49 -05:00
WOPIUploadConflictCommon.hpp wsd: test: add SaveOnExit test 2022-02-08 20:46:01 -05:00