From 75dc0af65fb3c0f30299c600266f842e70683872 Mon Sep 17 00:00:00 2001 From: James Frowen Date: Mon, 6 Apr 2020 15:42:47 +0100 Subject: [PATCH] Pipeline fix for performance tests (#1666) * updating coverage manifest * removing version tag --- .../Tests/Performance/Editor/NetworkWriterPerformance.cs | 1 - .../Performance/Runtime/ULocalConnectionPerformance.cs | 1 - Packages/manifest-coverage.json | 8 ++++++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Assets/Mirror/Tests/Performance/Editor/NetworkWriterPerformance.cs b/Assets/Mirror/Tests/Performance/Editor/NetworkWriterPerformance.cs index 68bb76a7e..6a9071463 100644 --- a/Assets/Mirror/Tests/Performance/Editor/NetworkWriterPerformance.cs +++ b/Assets/Mirror/Tests/Performance/Editor/NetworkWriterPerformance.cs @@ -14,7 +14,6 @@ public class NetworkWriterPerformance #else [PerformanceTest] #endif - [Version("2")] public void WritePackedInt32() { Measure.Method(WriteInt32) diff --git a/Assets/Mirror/Tests/Performance/Runtime/ULocalConnectionPerformance.cs b/Assets/Mirror/Tests/Performance/Runtime/ULocalConnectionPerformance.cs index 1f76e429f..475898da8 100644 --- a/Assets/Mirror/Tests/Performance/Runtime/ULocalConnectionPerformance.cs +++ b/Assets/Mirror/Tests/Performance/Runtime/ULocalConnectionPerformance.cs @@ -54,7 +54,6 @@ public IEnumerator ConnectAndDisconnectWorks() #else [PerformanceUnityTest] #endif - [Version("11.4.1")] public IEnumerator ULocalConnectionPerformanceWithEnumeratorPasses() { yield return SetUpConnections(); diff --git a/Packages/manifest-coverage.json b/Packages/manifest-coverage.json index eb67a11b2..4f0d54068 100644 --- a/Packages/manifest-coverage.json +++ b/Packages/manifest-coverage.json @@ -5,6 +5,7 @@ "com.unity.ide.vscode": "1.1.4", "com.unity.test-framework": "1.1.11", "com.unity.testtools.codecoverage": "0.2.3-preview", + "com.unity.test-framework.performance": "0.1.50-preview", "com.unity.textmeshpro": "2.0.1", "com.unity.timeline": "1.2.10", "com.unity.ugui": "1.0.0", @@ -39,5 +40,8 @@ "com.unity.modules.vr": "1.0.0", "com.unity.modules.wind": "1.0.0", "com.unity.modules.xr": "1.0.0" - } -} + }, + "testables": [ + "com.unity.test-framework.performance" + ] +} \ No newline at end of file