Skip to content

Commit b7efd17

Browse files
Remove use of DDC during CI tests (#3367)
# Description of Changes Removes the use of the Derived Data Cache during CI, will in # API and ABI breaking changes None # Expected complexity level and risk 1 - Small change for CI # Testing - [x] Re-ran tests on both Linux + Windows with the change
1 parent 318049a commit b7efd17

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

sdks/unreal/tests/TestClient/Config/DefaultEngine.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1+
[Zen]
2+
bEnableZen=false
3+
bEnableZenLocal=false
14

5+
[/Script/Zen.ZenServiceSettings]
6+
bEnabled=False
7+
bAutoLaunch=False
28

39
[Audio]
410
UseAudioMixer=True

sdks/unreal/tests/test.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,10 @@ fn make_test(test_name: &str) -> Test {
8383
// Run automation test
8484

8585
let run_command = format!(
86-
"\"{editor_exe}\" \"{uproject_path}\" -NullRHI -Unattended -NoSound -nop4 -NoSplash -DDC-ForceMemoryCache -ddc=InstalledNoZenLocalFallback -ExecCmds=\"Automation RunTests SpacetimeDB.TestClient.{test_name}; Quit\""
86+
// Updated to -NoZen and -dcc=InstalledNoZenLocalFallback to stop Unreal from trying to install Zen Server in CI
87+
// This is failing during tests as each test tries to install Zen and create a race condition where two tests try to handle this at the same time
88+
// Zen Server and the Derived Cache seem like a good idea during tests but they were not designed with mutli-threaded tests in mind, it is suggested to allow each test to run in isolation
89+
"\"{editor_exe}\" \"{uproject_path}\" -NullRHI -Unattended -NoSound -nop4 -NoSplash -NoZen -ddc=InstalledNoZenLocalFallback -ExecCmds=\"Automation RunTests SpacetimeDB.TestClient.{test_name}; Quit\""
8790
);
8891

8992
Test::builder()

0 commit comments

Comments
 (0)