mirror of
https://github.com/kopia/kopia.git
synced 2026-10-21 05:34:42 -04:00
[Robustness] Add first robustness tests
Add two tests: - TestManySmallFiles: writes 100k files size 4k to a directory. Snapshots the data tree, restores and validates data. - TestModifyWorkload: Loops over a simple randomized workload. Performs a series of random file writes to some random sub-directories, then takes a snapshot of the data tree. All snapshots taken during this test are restore-verified at the end. A global test engine is instantiated in main_test.go, to be used in the robustness test suite across tests (saves time loading/saving metadata once per run instead of per test).
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f