mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-08 02:17:25 +02:00
* Set all clients to dev_download for make get-music * Use multiple TranscodingCache instances in tests This fixes flaky tests. The issue is that the TranscodingCache object was being reused in tests from media_stream_Internal_test.go and media_stream_test.go. If tests from the former was run first, the cache would be filled up, so that when running tests from the latter, the `NON seekable` test would fail. * Allow configuring cache folder This commit introduces a new configuration option to configure the cache folder. This allows the cache to be in a separate folder such as /var/cache/navidrome on Linux distributions. * Fix tests * Removed unused test setup code --------- Co-authored-by: Deluan <deluan@deluan.com> Co-authored-by: Deluan <deluan@navidrome.org> |
||
|---|---|---|
| .. | ||
| cache | ||
| diodes | ||
| gg | ||
| gravatar | ||
| number | ||
| pl | ||
| singleton | ||
| slice | ||
| cached_http_client.go | ||
| cached_http_client_test.go | ||
| context.go | ||
| context_test.go | ||
| encrypt.go | ||
| encrypt_test.go | ||
| index_group_parser.go | ||
| index_group_parser_test.go | ||
| merge_fs.go | ||
| merge_fs_test.go | ||
| paths.go | ||
| request_helpers.go | ||
| request_helpers_test.go | ||
| sanitize_strings.go | ||
| sanitize_strings_test.go | ||
| strings.go | ||
| strings_test.go | ||
| time.go | ||
| time_test.go | ||
| utils_suite_test.go | ||
| weighted_random_chooser.go | ||
| weighted_random_chooser_test.go | ||