From 6c8ca30f7fc02170901a969c71dc35ec8992ad02 Mon Sep 17 00:00:00 2001 From: gnattu Date: Thu, 29 Aug 2024 02:43:37 +0800 Subject: Prevent server from starting if the ffmpeg path is invalid (#12463) --- tests/Jellyfin.Server.Integration.Tests/JellyfinApplicationFactory.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') 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 /// 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(); -- cgit v1.2.3