Fix SignalR Java tests not running (#18114)
This commit is contained in:
parent
ad9cf5bcd3
commit
97a59f1acc
|
|
@ -236,3 +236,4 @@ jobs:
|
||||||
testResultsFiles: '**/TEST-com.microsoft.signalr*.xml'
|
testResultsFiles: '**/TEST-com.microsoft.signalr*.xml'
|
||||||
buildConfiguration: $(BuildConfiguration)
|
buildConfiguration: $(BuildConfiguration)
|
||||||
buildPlatform: $(AgentOsName)
|
buildPlatform: $(AgentOsName)
|
||||||
|
mergeTestResults: true
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,8 @@
|
||||||
|
|
||||||
<IsShippingPackage>true</IsShippingPackage>
|
<IsShippingPackage>true</IsShippingPackage>
|
||||||
|
|
||||||
|
<IsTestProject>true</IsTestProject>
|
||||||
|
|
||||||
<!-- Disable gradle daemon on CI since the CI seems to try to wait for the daemon to shut down, which it doesn't do :) -->
|
<!-- Disable gradle daemon on CI since the CI seems to try to wait for the daemon to shut down, which it doesn't do :) -->
|
||||||
<GradleOptions Condition="'$(ContinuousIntegrationBuild)' == 'true'">$(GradleOptions) -Dorg.gradle.daemon=false</GradleOptions>
|
<GradleOptions Condition="'$(ContinuousIntegrationBuild)' == 'true'">$(GradleOptions) -Dorg.gradle.daemon=false</GradleOptions>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
@ -33,6 +35,9 @@
|
||||||
</PackDependsOn>
|
</PackDependsOn>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.targets))\Directory.Build.targets" />
|
||||||
|
|
||||||
|
<!-- Define Target overrides after importing Directory.Build.targets so these don't get overriden -->
|
||||||
<Target Name="Pack" DependsOnTargets="$(PackDependsOn)" Condition="'$(IsPackable)' == 'true'">
|
<Target Name="Pack" DependsOnTargets="$(PackDependsOn)" Condition="'$(IsPackable)' == 'true'">
|
||||||
<Message Text="> gradlew $(GradleOptions) createPackage" Importance="high" />
|
<Message Text="> gradlew $(GradleOptions) createPackage" Importance="high" />
|
||||||
<Exec Command="./gradlew $(GradleOptions) createPackage" />
|
<Exec Command="./gradlew $(GradleOptions) createPackage" />
|
||||||
|
|
@ -50,10 +55,8 @@
|
||||||
<Exec Command="./gradlew $(GradleOptions) test" IgnoreStandardErrorWarningFormat="true" />
|
<Exec Command="./gradlew $(GradleOptions) test" IgnoreStandardErrorWarningFormat="true" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.targets))\Directory.Build.targets" />
|
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<!-- Pass the Java Package Version down to Gradle -->
|
<!-- Pass the Java Package Version down to Gradle -->
|
||||||
<GradleOptions>-PpackageVersion="$(PackageVersion)"</GradleOptions>
|
<GradleOptions Condition="'$(ContinuousIntegrationBuild)' == 'true'">$(GradleOptions) -PpackageVersion="$(PackageVersion)"</GradleOptions>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
// Copyright (c) .NET Foundation. All rights reserved.
|
// Copyright (c) .NET Foundation. All rights reserved.
|
||||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue