Commit Graph
45 Commits
Author SHA1 Message Date
Kenneth SkovhedeandGitHub c9d5030f8c Merge pull request #6723 from duplicati/feature/implement-rename-on-backends
Added support for renaming files on backends that support it.
2026-01-30 19:16:09 +01:00
Kenneth Skovhede 1094f2f4c6 Added more logging around failing test, and potentially fixed it (only fails in CI) 2026-01-30 08:38:13 +01:00
Kenneth Skovhede e1f6034d89 Fixed a sporadic issue with tests on Windows 2026-01-30 08:26:34 +01:00
Kenneth Skovhede 63fb415767 Fixed issue in test where a repair was not counted as a success. 2026-01-28 21:15:21 +01:00
Kenneth Skovhede 178440f869 Fixed a number of warnings 2025-11-14 16:00:06 +01:00
Carl Johnsen fc6a716df0 Changed X to the given PR number for finding more information 2025-08-06 10:20:38 +02:00
Carl Johnsen 1050e6b868 Added a test for recreating the issue of having a hash being null in the remote volume table 2025-08-06 10:15:13 +02:00
Kenneth Skovhede 8fca01f64f Updated NUnit
This closes #4939
2025-06-13 11:48:24 +02:00
Kenneth Skovhede ce79ace904 Use Span.Fill to init test blocks 2025-06-11 16:34:22 +02:00
Carl Johnsen 79059e288a Added comments about why Archive is excluded for now 2025-03-26 15:51:27 +01:00
Carl Johnsen fc2d55bfc5 The CI still appends Archive - trying to ignore it if it's set. 2025-03-26 15:51:15 +01:00
Carl Johnsen 4ae9f16476 Sanity testing by omitting the Archive attribute during testing. 2025-03-26 15:05:21 +01:00
Carl Johnsen abdffed7d9 Trying to mitigate attributes set on the original files before performing the backup, which it seems like the CI is doing. 2025-03-26 14:21:40 +01:00
Carl Johnsen 049f330412 The 'everyone' user is not available on all versions of Windows 2025-03-26 09:20:29 +01:00
Carl Johnsen ec35d58f3b Added additional information to the asserts for debugging.
The asserts related to the OS specific folder and file are the same, because their line number reflects where they failed.
2025-03-26 06:20:45 +01:00
Carl Johnsen 5961ff6894 Changed to consistently use the same variables for comparison 2025-03-26 06:17:51 +01:00
Carl Johnsen b60ee3bc42 Missed some file and folder attributes during comparisons 2025-03-26 04:10:31 +01:00
Carl Johnsen f447aed1e8 Fixed the Windows test for folder/files attributes/permissions unit test 2025-03-25 18:16:32 +01:00
Carl Johnsen 7b9adb07f8 Added a test to check restored metadata and permissions 2025-03-25 10:05:44 +01:00
Carl Johnsen 06cb3d70d3 Added a unit test to capture issue #6068 2025-03-24 13:59:32 +01:00
Kenneth Skovhede 47afbbbdad Fixed a transitional issue 2025-03-19 21:42:08 +01:00
Kenneth Skovhede 0274fc2b6e Added sleeps to ensure timestamps have space for repairs 2025-03-11 08:08:28 +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
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