Skip to content

Commit 41307ba

Browse files
committed
cleanup
1 parent 4a3804c commit 41307ba

File tree

3 files changed

+13
-39
lines changed

3 files changed

+13
-39
lines changed

.yamato/_triggers.yml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,21 @@
4242
# In order to have better coverage we run desktop standalone tests with different configurations which allows to mostly cover for different platforms, scripting backends and editor versions.
4343
# This job will FIRST run "run_quick_checks" jobs (defined in _run-all.yml) since it's the dependency of project pack jobs which is on the lowest dependency tier. This runs the fastest checks (like PVP or code standards) and ONLY IF those pass it will run the rest of the tests.
4444
# This optimization allows to speed up feedback look for any "obvious" errors and save resources.
45-
# Since standards job is a part of initial checks it's not present as direct dependency here
45+
# Since standards job is a part of initial checks it's not present as direct dependency here!!!!!!!!!!!!!!!!!!!!
4646
pull_request_trigger:
4747
name: Pull Request Trigger (develop, develop-2.0.0, & release branches)
4848
dependencies:
49-
# # Run package EditMode and Playmode package tests on trunk
50-
# - .yamato/_run-all.yml#run_all_package_tests_trunk
51-
# # Run package EditMode and Playmode package tests on minimum supported editor (6000.0 in case of NGOv2.X)
52-
# - .yamato/_run-all.yml#run_all_package_tests_6000
53-
# # Run project EditMode and PLaymode project tests on trunk
54-
# - .yamato/_run-all.yml#run_all_project_tests_trunk
55-
# # Run project EditMode and PLaymode project tests on minimum supported editor (6000.0 in case of NGOv2.X)
56-
# - .yamato/_run-all.yml#run_all_project_tests_6000
57-
# # Run standalone test with mixture of parameters to make sure there are no obvious issues with most common platform (for example --fail-on-assert option is not present with package/project tests). We run 2 different combinations with different platform/editor/scripting backend.
58-
- .yamato/desktop-standalone-tests.yml#desktop_standalone_test_testproject_ubuntu_il2cpp_trunk
59-
# - .yamato/desktop-standalone-tests.yml#desktop_standalone_test_testproject_win_mono_6000.0
49+
# Run package EditMode and Playmode package tests on trunk
50+
- .yamato/_run-all.yml#run_all_package_tests_trunk
51+
# Run package EditMode and Playmode package tests on minimum supported editor (6000.0 in case of NGOv2.X)
52+
- .yamato/_run-all.yml#run_all_package_tests_6000
53+
# Run project EditMode and PLaymode project tests on trunk
54+
- .yamato/_run-all.yml#run_all_project_tests_trunk
55+
# Run project EditMode and PLaymode project tests on minimum supported editor (6000.0 in case of NGOv2.X)
56+
- .yamato/_run-all.yml#run_all_project_tests_6000
57+
# Run standalone test. We run it only on Ubuntu since it's the fastest machine, and it was noted that for example distribution on macOS is taking 40m since we switched to Apple Silicon
58+
# Coverage on other standalone machines is present in Nightly job so it's enough to not run all of them for PRs
59+
- .yamato/desktop-standalone-tests.yml#desktop_standalone_test_testproject_ubuntu_il2cpp_6000.0
6060
triggers:
6161
cancel_old_ci: true
6262
pull_requests:
@@ -81,7 +81,6 @@ develop_nightly:
8181
dependencies:
8282
# Run project standards to verify package/default project
8383
- .yamato/project-standards.yml#standards_ubuntu_testproject_trunk
84-
- .yamato/project-standards.yml#standards_ubuntu_testproject_6000.0
8584
# Run APV jobs to make sure the change won't break any dependants
8685
- .yamato/wrench/preview-a-p-v.yml#all_preview_apv_jobs
8786
# Run package EditMode and Playmode tests on desktop platforms on trunk and 6000.0
@@ -134,4 +133,4 @@ develop_weekly_trunk:
134133
# Build player for webgl platform on trunk
135134
- .yamato/_run-all.yml#run_all_webgl_builds
136135
# Run code coverage test
137-
- .yamato/code-coverage.yml#code_coverage_ubuntu_trunk
136+
- .yamato/code-coverage.yml#code_coverage_ubuntu_trunk

com.unity.netcode.gameobjects/Tests/Runtime/PlayerObjectTests.cs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ internal class PlayerObjectTests : NetcodeIntegrationTest
1818

1919
protected GameObject m_NewPlayerToSpawn;
2020

21-
// TODO: [CmbServiceTests] Clients are disconnecting in a way that makes the cmb service slow to close and restart
22-
protected override bool UseCMBService()
23-
{
24-
return true;
25-
}
2621
public PlayerObjectTests(HostOrServer hostOrServer) : base(hostOrServer) { }
2722

2823
protected override void OnServerAndClientsCreated()
@@ -75,11 +70,6 @@ internal class PlayerSpawnNoObserversTest : NetcodeIntegrationTest
7570
{
7671
protected override int NumberOfClients => 2;
7772

78-
// TODO: [CmbServiceTests] Clients are disconnecting in a way that makes the cmb service slow to close and restart
79-
protected override bool UseCMBService()
80-
{
81-
return true;
82-
}
8373
public PlayerSpawnNoObserversTest(HostOrServer hostOrServer) : base(hostOrServer) { }
8474

8575
protected override bool ShouldCheckForSpawnedPlayers()
@@ -141,11 +131,6 @@ internal class PlayerSpawnPositionTests : IntegrationTestWithApproximation
141131
{
142132
protected override int NumberOfClients => 2;
143133

144-
// TODO: [CmbServiceTests] Clients are disconnecting in a way that makes the cmb service slow to close and restart
145-
protected override bool UseCMBService()
146-
{
147-
return true;
148-
}
149134
public PlayerSpawnPositionTests(HostOrServer hostOrServer) : base(hostOrServer) { }
150135

151136
private Vector3 m_PlayerPosition;
@@ -215,12 +200,6 @@ internal class PlayerSpawnAndDespawnTests : NetcodeIntegrationTest
215200

216201
private StringBuilder m_ErrorLog = new StringBuilder();
217202

218-
// TODO: [CmbServiceTests] Clients are disconnecting in a way that makes the cmb service slow to close and restart
219-
protected override bool UseCMBService()
220-
{
221-
return true;
222-
}
223-
224203
public PlayerSpawnAndDespawnTests(HostOrServer hostOrServer) : base(hostOrServer) { }
225204

226205
private bool ValidateObservers(ulong playerClientId, NetworkObject player, ref List<NetworkManager> networkManagers)

testproject/testproject.sln.DotSettings

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)