Skip to content

Commit 454cf58

Browse files
committed
Remove --clean-library from project_tests
1 parent 37aff39 commit 454cf58

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.yamato/project-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ test_{{ project.name }}_{{ platform.name }}_{{ editor }}:
3838
{% endif %}
3939
commands:
4040
- unity-downloader-cli --fast --wait -u {{ editor }} -c Editor {% if platform.name == "mac" %} --arch arm64 {% endif %} # For macOS we use ARM64 models. Installing basic editor for tests execution
41-
- UnifiedTestRunner --testproject={{ project.path }} --suite=editor --suite=playmode --artifacts-path=test-results --editor-location=.Editor --rerun-strategy=Test --retry=1 --clean-library --timeout=1800
41+
- UnifiedTestRunner --testproject={{ project.path }} --suite=editor --suite=playmode --artifacts-path=test-results --editor-location=.Editor --rerun-strategy=Test --retry=1 --timeout=1800
4242
artifacts:
4343
logs:
4444
paths:

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ public IEnumerator ValidateUrlsAreValid()
5656
{
5757
Assert.IsTrue(tasks[i].Result, $"HelpUrls.{names[i]} has an invalid path! Path: {allUrls[i]}");
5858
}
59+
60+
Assert.Fail("Test reruns!");
5961
}
6062

6163
private async Task<bool> AreUnityDocsAvailableAt(string url)

testproject/Assets/Tests/Runtime/NetworkSceneManager/NetworkSceneManagerEventNotifications.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,6 @@ public IEnumerator SceneLoadingAndNotifications([Values] LoadSceneMode loadScene
311311
// Check error status for trying to load an invalid scene name
312312
LogAssert.Expect(LogType.Error, $"Scene '{k_InvalidSceneName}' couldn't be loaded because it has not been added to the build settings scenes in build list.");
313313
Assert.AreEqual(authority.SceneManager.LoadScene(k_InvalidSceneName, LoadSceneMode.Additive), SceneEventProgressStatus.InvalidSceneName);
314-
Assert.Fail("Test reruns!");
315314
}
316315

317316

0 commit comments

Comments
 (0)