diff options
| author | gnattu <gnattu@users.noreply.github.com> | 2024-08-29 02:43:37 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-28 12:43:37 -0600 |
| commit | 6c8ca30f7fc02170901a969c71dc35ec8992ad02 (patch) | |
| tree | 20e674033780ce8254fd41e467c9c1fe3d03bdbc /tests | |
| parent | 8c3f3c503b4b0606e2987ed58e5228d72669afeb (diff) | |
Prevent server from starting if the ffmpeg path is invalid (#12463)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/Jellyfin.Server.Integration.Tests/JellyfinApplicationFactory.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Jellyfin.Server.Integration.Tests/JellyfinApplicationFactory.cs b/tests/Jellyfin.Server.Integration.Tests/JellyfinApplicationFactory.cs index a078eff77..78b32d278 100644 --- a/tests/Jellyfin.Server.Integration.Tests/JellyfinApplicationFactory.cs +++ b/tests/Jellyfin.Server.Integration.Tests/JellyfinApplicationFactory.cs @@ -47,6 +47,8 @@ namespace Jellyfin.Server.Integration.Tests /// <inheritdoc/> protected override void ConfigureWebHost(IWebHostBuilder builder) { + // Skip ffmpeg check for testing + Environment.SetEnvironmentVariable("JELLYFIN_FFMPEG__NOVALIDATION", "true"); // Specify the startup command line options var commandLineOpts = new StartupOptions(); |
