Commit Graph
23 Commits
Author SHA1 Message Date
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
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 SkovhedeandGitHub 997891525a Updated license-updater to update csproj files (#5898)
* Updated license-updater to update csproj files

* License updates
2025-01-22 21:04:19 +01:00
Carl Johnsen 628684a2f7 Added the correct PR number to the new test 2025-01-17 12:34:52 +01:00
Carl Johnsen 35bf86799b Added a unit test for restore of a partial file 2025-01-17 12:29:11 +01:00
Kenneth SkovhedeandGitHub 9464caf622 Feature/update license 2025 (#5851)
* Fixed some minor whitespace issues

* Updated all copyright to 2025
2025-01-07 09:40:39 +01:00
Carl Johnsen 284b14b72f Merge branch 'master' into bugfix/restore-overwrite 2025-01-06 14:43:03 +01:00
Carl Johnsen e88b16dd86 Add assertions to verify untouched files during restore operations 2025-01-05 12:28:08 +01:00
Carl Johnsen 5b7314621c Reduced test file size to speed up the test. File size shouldn't matter too much here. 2025-01-05 12:17:16 +01:00
Carl Johnsen 193b5a8e64 Extended the 5825 test to verify finding an already restored but timestamp retargeted file. 2025-01-05 12:15:43 +01:00
Carl Johnsen 85ddeaba51 Fixed old assertion message in restore test 2025-01-05 11:54:38 +01:00
Carl Johnsen 23aefd51c9 Add unit test for Issue #5825 Restore behavior with overwrite option 2025-01-05 11:52:12 +01:00
Carl Johnsen ec001e7e73 Added a test to capture issue #5826 2025-01-03 20:34:45 +01:00
Kenneth SkovhedeandGitHub 3e3258b081 Merge pull request #5615 from duplicati/feature/fix-issue-5038
Feature/fix issue 5038
2024-11-05 10:07:00 +01:00
Kenneth Skovhede 779c842b9a Merge branch 'feature/fix-leftover-index' of github.com:duplicati/duplicati into feature/fix-leftover-index 2024-11-01 11:15:13 +01:00
Kenneth Skovhede 0dcb7ceab6 Fixed a test that was succeding for the wrong reason 2024-11-01 11:14:46 +01:00
Kenneth Skovhede 99f4dbcf51 Enable test as it does not fail 2024-10-31 16:51:55 +01:00
Kenneth Skovhede 734659f3f7 Implemented a fix for 5038 2024-10-31 13:42:07 +01:00
Jojo-1000 0b92f19572 Merge branch 'master' into fix-leftover-index 2024-05-11 23:37:21 +02:00
Jojo-1000 71cf250450 Fix missing index-block link in interrupted backup.
See issue #5023.
The index-block link should be created before the upload is started, otherwise an interrupted backup could cause an index file without a link.
2023-10-08 22:34:15 +02:00
Jojo-1000 b4d0ed2cd9 Add categories and reproduction of issue #5038. 2023-10-08 22:25:44 +02:00
Jojo-1000 ea6c418b7b Add test case to reproduce part of #5023. 2023-10-08 22:25:42 +02:00