From c9314914f05ba1b6cdc9053835a10378409eb4d2 Mon Sep 17 00:00:00 2001 From: Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com> Date: Thu, 19 May 2022 13:43:28 +0200 Subject: [PATCH] Integration tests no longer have artificial SQLite delays. (#8289) Should hopefully fix DEBUG tests. --- Content.IntegrationTests/ContentIntegrationTest.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Content.IntegrationTests/ContentIntegrationTest.cs b/Content.IntegrationTests/ContentIntegrationTest.cs index 489ada34da..6eba7723f6 100644 --- a/Content.IntegrationTests/ContentIntegrationTest.cs +++ b/Content.IntegrationTests/ContentIntegrationTest.cs @@ -29,6 +29,9 @@ namespace Content.IntegrationTests // Avoid funny race conditions with the database. (CCVars.DatabaseSynchronous.Name, "true", false), + // No artificial database delay, as it can make tests fail. + (CCVars.DatabaseSqliteDelay.Name, "0", false), + // Disable holidays as some of them might mess with the map at round start. (CCVars.HolidaysEnabled.Name, "false", false), @@ -36,7 +39,7 @@ namespace Content.IntegrationTests (CCVars.GameMap.Name, "empty", true), // Makes sure IGameMapManager actually listens. - (CCVars.GameMapForced.Name, "true", true) + (CCVars.GameMapForced.Name, "true", true), }; private static void SetServerTestCvars(IntegrationOptions options)