Kenneth Skovhede
ba5ff7822e
Fixed tests
2025-03-24 17:21:00 +01:00
Kenneth Skovhede
149c71c169
Added test for Windows paths as urls
2025-03-24 11:46:00 +01:00
Kenneth Skovhede
47afbbbdad
Fixed a transitional issue
2025-03-19 21:42:08 +01:00
Kenneth Skovhede
5edfcc5c6a
Prevent blocksize near remote volume size
...
If the user selects the blocksize to be the same as the remote volume size, this will cause each block to be in a separate volume and will trigger repeated compact calls.
This commit adds a check that ensures the volume size is large enough to hold at least two blocks.
Also fixed an issue where the compact could create volumes larger than the set limit (at most one block larger).
2025-03-13 12:09:57 +01:00
marceloduplicati and GitHub
c4600e4237
Merge pull request #6033 from marceloduplicati/feature/fix-to-stop-unit-test
...
Fix to StopNow tests
2025-03-12 12:18:44 -03:00
Kenneth Skovhede and GitHub
eac394f0a3
Merge pull request #6011 from duplicati/feature/improved-failure-resilience
...
Improved failure resilience
2025-03-12 14:48:14 +01:00
Marcelo C.
64d40ef0ea
Fix to StopNow tests
...
Since the core changes in the cancelation process where now cancellationTokens are observed rather than a thread.abort attempt, the expected exception is now OperationCanceledException when calling .Abort on the controller.
Also eliminated the time based awaiting to abort in favor of monitoring the backup phase to ensure the .Abort happens after the controller has had time to initiate the backend and backend is at Backup_ProcessingFiles state.
2025-03-12 10:40:20 -03:00
Kenneth Skovhede
b63869448a
Ignore warning when reparing broken database
2025-03-11 17:00:14 +01:00
Kenneth Skovhede
351fb89509
Ignoring timestamps in with dirty database test
2025-03-11 10:45:44 +01:00
Kenneth Skovhede
0274fc2b6e
Added sleeps to ensure timestamps have space for repairs
2025-03-11 08:08:28 +01:00
Kenneth Skovhede
5d45baacbf
Renamed tests away from "Failed" to make searching for failed tests easier.
2025-03-10 22:04:48 +01:00
Kenneth Skovhede
d053470cf9
Added additional tests for repair code
2025-03-10 14:40:13 +01:00
Kenneth Skovhede
c673cba607
Cleanups in tests
2025-03-10 14:39:31 +01:00
Carl Johnsen
33c133fad1
Added a sleep in BorderTests, as fast machines will trigger two backups in quick succession, which will cause the test to fail.
2025-03-10 06:39:50 +01:00
Kenneth Skovhede
599203a269
Added check to see that injected failure is actually triggered
2025-03-09 22:01:01 +01:00
Kenneth Skovhede
12cabf8da7
Merge branch 'feature/improved-failure-resilience' of github.com:duplicati/duplicati into feature/improved-failure-resilience
2025-03-08 15:28:24 +01:00
Kenneth Skovhede
d019845fad
Added a number of new tests to ensure correct handling of edge cases related to missing/interrupted uploads.
2025-03-08 15:14:03 +01:00
Kenneth Skovhede and GitHub
f6d8ed83f0
Merge branch 'master' into feature/improved-failure-resilience
2025-03-06 22:32:37 +01:00
Kenneth Skovhede
d75e690495
Fixed not being dependent on filesystem order
2025-03-06 18:26:56 +01:00
Kenneth Skovhede
e3727d8f18
Finding list of modified files to trace the error
2025-03-06 15:22:57 +01:00
Kenneth Skovhede
774e468287
Placed modify correctly
2025-03-06 15:12:38 +01:00
Kenneth Skovhede
7beeb27ade
Extended tests and fixed a case where a left-over upload could cause errors.
2025-03-06 14:53:46 +01:00
Kenneth Skovhede
277362ce64
Another attempt at fixing the failing tests
2025-03-06 10:48:52 +01:00
Kenneth Skovhede
be0d74fe2e
Attempt to make test more stable
2025-03-05 10:01:08 +01:00
Kenneth Skovhede
78b45eb983
Added additional tests for OperationCancelledException
...
(cherry picked from commit 30568f0498 )
2025-03-04 16:37:24 +01:00
Kenneth Skovhede
11a27042bc
Merge remote-tracking branch 'origin/master' into feature/alternate-source-provider
2025-02-26 19:25:46 +01:00
Kenneth Skovhede
f77e529eb6
Merge commit '2339aeff28adba15442d0be60c56568ae642ad0b' into feature/make-backends-async
2025-02-26 15:23:48 +01:00
Kenneth Skovhede
1428d8cc6f
Preserve order of input sources
2025-02-24 12:53:48 +01:00
Kenneth Skovhede
655f5ef635
Added interuption test
...
This adds a test with a failed upload.
The failed upload is done in parallel, so (at least) one of the uploads succeeeds and one upload fails.
The backup then errors, but a subsequent backup continues without errors and creates a synthetic filelist.
Also refactored the DeterministicErrorBackend to not use magic strings.
And made it actually deterministic.
2025-02-20 11:00:28 +01:00
Kenneth Skovhede
0f9669b273
Final conversion to async backends
...
This PR is the final change, where all backends are now purely implemented with async interfaces.
The code changes here replace the LIST call with an async version. This affect all backends (and then some) but the changes are mostly mechanical rewrites of the code.
In many places, the backeds were already prepared for async output, in other some glue was needed.
To reduce the scope of this change, some backends simply report a synchronous result as an async list.
2025-02-17 16:45:51 +01:00
Kenneth Skovhede
6bbc93b8df
Merge remote-tracking branch 'origin/master' into feature/alternate-source-provider
2025-02-16 16:37:12 +01:00
Kenneth Skovhede
4a9ad45250
Repaired import/export test
2025-02-16 16:33:15 +01:00
Kenneth Skovhede
8cead82274
Moved a sanity check up
2025-02-16 16:09:48 +01:00
Kenneth Skovhede
d8f6b3370a
Removed unused code
2025-02-16 16:09:20 +01:00
Kenneth Skovhede and GitHub
e76bbc478f
Merge pull request #5950 from duplicati/feature/fix-zip-fallback
...
Handle automatic fallback when reading zip files
2025-02-10 21:06:39 +01:00
Kenneth Skovhede and GitHub
11df878673
Merge pull request #5949 from duplicati/feature/protect-datafolder
...
Add permission protection to data folder and database
2025-02-10 21:06:15 +01:00
Kenneth Skovhede and GitHub
6693b77d85
Merge pull request #5948 from duplicati/feature/fix-not-storing-updated-timestamps
...
Fix not storing updated timestamps
2025-02-10 21:05:46 +01:00
Carl Johnsen
d33fa0caf9
Fixed a typo in a unit test assertion
2025-02-10 14:02:36 +01:00
Carl Johnsen
3962cc1297
Added a test to cover Issue #5957
2025-02-10 13:44:21 +01:00
Kenneth Skovhede
14207848ab
Fix test instability
2025-02-07 19:19:19 +01:00
Kenneth Skovhede
adbd6b6a7c
Added support for fallback when reading zip files with unsupported compression methods
2025-02-06 21:35:49 +01:00
Kenneth Skovhede
ebdfc774c2
Removed static IO_WIN and IO_SYS as cross-platform calls are not possible.
2025-02-06 16:57:12 +01:00
Kenneth Skovhede
74d5b757e8
Added test that replicates issue #4312
2025-02-06 15:30:28 +01:00
Carl Johnsen
4943a0de2d
Found another suffix > prefix change
2025-02-03 19:40:55 +01:00
Carl Johnsen
f38fc6ba18
Extended the general remote synchronization test with more general usage
2025-02-03 19:21:08 +01:00
Carl Johnsen
4d007795a8
Added a test for the two verify flags
2025-02-03 13:47:18 +01:00
Carl Johnsen
0e86f44593
Added a test for dry run
2025-02-03 13:41:01 +01:00
Carl Johnsen
2dd3aaffb3
Added a test for the retention option with an empty source directory
2025-02-03 13:21:45 +01:00
Carl Johnsen
55aca59aeb
Added a test for whether an empty source deletes destination files.
2025-02-03 13:13:53 +01:00
Carl Johnsen
a8edca231b
Added a test with everything being empty
2025-02-03 13:12:38 +01:00