Integration tests no longer have artificial SQLite delays. (#8289)
Should hopefully fix DEBUG tests.
This commit is contained in:
committed by
GitHub
parent
e6a6f19673
commit
c9314914f0
@@ -29,6 +29,9 @@ namespace Content.IntegrationTests
|
|||||||
// Avoid funny race conditions with the database.
|
// Avoid funny race conditions with the database.
|
||||||
(CCVars.DatabaseSynchronous.Name, "true", false),
|
(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.
|
// Disable holidays as some of them might mess with the map at round start.
|
||||||
(CCVars.HolidaysEnabled.Name, "false", false),
|
(CCVars.HolidaysEnabled.Name, "false", false),
|
||||||
|
|
||||||
@@ -36,7 +39,7 @@ namespace Content.IntegrationTests
|
|||||||
(CCVars.GameMap.Name, "empty", true),
|
(CCVars.GameMap.Name, "empty", true),
|
||||||
|
|
||||||
// Makes sure IGameMapManager actually listens.
|
// Makes sure IGameMapManager actually listens.
|
||||||
(CCVars.GameMapForced.Name, "true", true)
|
(CCVars.GameMapForced.Name, "true", true),
|
||||||
};
|
};
|
||||||
|
|
||||||
private static void SetServerTestCvars(IntegrationOptions options)
|
private static void SetServerTestCvars(IntegrationOptions options)
|
||||||
|
|||||||
Reference in New Issue
Block a user