Commit Graph
40 Commits
Author SHA1 Message Date
Kenneth Skovhede 736df8173b Bump ngclient to 225
This updates ngclient to 225, and also adds `--duplicati-webservice-suppress-welcome-page` to automatically disable the welcome page that is shown on new installs.
2026-06-04 20:09:04 +02:00
Kenneth Skovhede ab487bdde2 Optimize synthetic filelist creation
This PR adds a test that generates a synthentic filelist of a variable size, and then measures the time it takes to recreate the fileset.

As there was a reported slowdown, analysis indicated that the query would grow in the order of O=N^2, where N is the number of paths.

The code is then updated to instead use some temporary on-disk space to lay out the paths and then insert them as a new fileset. This should bring the time down to O=N.

Based on a test with 10k files, the query speed up is ~900x, but will be more on larger filesets.
2026-05-06 15:16:10 +02:00
Kenneth Skovhede b7592b64fa Reduce AES iterations for tests as they are otherwise slowed down significantly due to low-power CI tools. 2026-05-04 11:53:42 +02:00
Carl Johnsen b4beb6209e Updated the disk image tests to not test every combination of file system and partition table type on the CI. 2026-03-11 14:26:58 +00:00
Kenneth SkovhedeandGitHub 179fd4da47 Merge pull request #6653 from duplicati/feature/secret-provider-write-support
Initial implementation of write-support for SecretProviders
2025-12-05 15:23:32 +01:00
Kenneth Skovhede 2f9c5cfb47 Fixed an issue with playwright commandline args for the server 2025-12-03 11:35:54 +01:00
Kenneth Skovhede 263ad400a7 Upload coverage reports even if tests fail 2025-12-02 10:39:16 +01:00
Kenneth Skovhede c73f1880ba Fixed some code coverage, and prevented regular unittests from running the secret provider tests 2025-12-02 09:53:37 +01:00
Kenneth Skovhede 6d9826df06 Initial implementation of write-support for SecretProviders
This updates the MacOS secret provider to use PInvoke for a more stable API than the secrets tool that was used before.
2025-11-30 23:01:57 +01:00
Kenneth Skovhede ae3b2416cb Bumped versions in tests 2025-11-14 16:17:06 +01:00
Kenneth Skovhede 1ea74a3c63 Updated to .NET10 2025-11-14 15:05:39 +01:00
Kenneth SkovhedeandGitHub eda4f70575 Merge pull request #6599 from duplicati/feature/add-playwright-tests
Initial version of a PlayWright test using ngclient
2025-11-11 10:51:41 +01:00
Kenneth Skovhede 51ffc47dc6 Added tracing to debug failure 2025-11-10 19:50:32 +01:00
Kenneth Skovhede f4557b58e2 Pin codecov version to 5.5.1 2025-11-10 13:05:22 +01:00
Kenneth Skovhede b0b566d31b Removed report artefact uploads 2025-11-10 12:59:22 +01:00
Kenneth Skovhede 7b6d0af9b0 Revert to single-line to work on Windows as well 2025-11-10 12:58:41 +01:00
Kenneth Skovhede 5415003432 Point specifically to the coverage files 2025-11-10 12:40:09 +01:00
Kenneth Skovhede e308d8a93f Testing out codecov 2025-11-10 12:36:00 +01:00
Kenneth Skovhede 74b310c8c5 More readable config 2025-11-07 14:45:50 +01:00
Kenneth Skovhede 1d0b71fb17 Record test coverage 2025-11-05 10:38:28 +01:00
Kenneth Skovhede 67bb156243 Build in debug mode to preserve auto-load features 2025-11-04 22:19:17 +01:00
Kenneth Skovhede 193c095f9e Ensure ngclient is loaded 2025-11-04 21:48:06 +01:00
Kenneth SkovhedeandGitHub cada0e30a9 Merge branch 'master' into feature/add-playwright-tests 2025-11-04 21:40:24 +01:00
Kenneth Skovhede 79b70b89b4 Preload ngclient before testing 2025-11-04 21:36:39 +01:00
Kenneth Skovhede 236f374a6c Log failures 2025-11-04 21:35:15 +01:00
Kenneth Skovhede 167524f292 Style fixes 2025-11-04 20:36:16 +01:00
Kenneth Skovhede 2a0032ec12 Explicti disable permissions 2025-11-04 13:54:06 +01:00
Kenneth SkovhedeGitHubCopilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
fd9b033a08 Potential fix for code scanning alert no. 315: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-11-04 13:49:16 +01:00
Kenneth Skovhede 7b1c1db0ee Merged tests into a single yml file 2025-11-04 13:48:49 +01:00
Kenneth Skovhede a9954049ea Initial version of a PlayWright test using ngclient 2025-11-04 13:43:00 +01:00
Kenneth Skovhede 5ca015e14d Added new integration tests on the API level 2025-11-04 10:50:22 +01:00
Kenneth Skovhede 782ce21917 Disable selenium tests 2025-02-10 22:04:11 +01:00
Kenneth Skovhede f7c94daa20 Changed the logic to run tests on PRs 2024-12-05 12:25:57 +01:00
Kenneth Skovhede 00eb61362b Only run tests on PRs 2024-11-21 14:41:01 +01:00
Kenneth Skovhede 4657f48a64 Updated dotnet and checkout to use v4 2024-04-24 13:27:14 +02:00
Kenneth Skovhede 9809ef5a78 Updated test workflow 2024-04-18 14:32:17 +02:00
Thomas Suckow 8c518f7d3a .net6 2022-04-12 21:43:50 -07:00
Thomas Suckow 0093561ec6 Update github actions 2022-03-03 21:31:10 -08:00
Kenneth Hsu 895ab357a7 Restrict branch in GitHub test workflow. 2021-06-28 10:23:00 -07:00
Kenneth Hsu b400be18da Add GitHub workflow to run tests using .NET 5.
This fixes #4537.
2021-06-28 09:57:29 -07:00