Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tests/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<VSTestRunSettingsFile Condition="'$(VSTestRunSettingsFile)' == ''">$(RunSettingsFilePath)</VSTestRunSettingsFile>

<DeployRunSettingsFile Condition="'$(DeployRunSettingsFile)' == ''">true</DeployRunSettingsFile>
<XunitRunnerJson Condition="'$(XunitRunnerJson)' == '' and '$(ArchiveTests)' == 'true'">$(RepoRoot)tests\helix\xunit.runner.json</XunitRunnerJson>
<XunitRunnerJson Condition="'$(XunitRunnerJson)' == ''">$(RepositoryEngineeringDir)testing\xunit.runner.json</XunitRunnerJson>

<RunTestsOnHelix Condition="'$(RunTestsOnHelix)' == '' and ('$(IsTestProject)' == 'true' and '$(IsTestSupportProject)' != 'true')">true</RunTestsOnHelix>
Expand Down
3 changes: 2 additions & 1 deletion tests/helix/send-to-helix-basictests.targets
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@

<ItemGroup>
<_DefaultWorkItems Include="$(WorkItemArchiveWildCard)" />
<!-- runsettings timeout in ms, default to 10 mins -->
<!-- runsettings timeout in ms, default to 15 mins -->
<_DefaultWorkItems TimeoutMs="900000" />

<_DefaultWorkItems Condition="'%(FileName)' == 'Aspire.Hosting.Elasticsearch.Tests'" TimeoutMs="1200000" />
<_DefaultWorkItems Condition="'%(FileName)' == 'Aspire.Hosting.Oracle.Tests'" TimeoutMs="1200000" />
<_DefaultWorkItems Condition="'%(FileName)' == 'Aspire.Pomelo.EntityFrameworkCore.MySql.Tests" TimeoutMs="1200000" />

<HelixWorkItem Include="@(_DefaultWorkItems -> '%(FileName)')">
<PayloadArchive>%(Identity)</PayloadArchive>
Expand Down
2 changes: 2 additions & 0 deletions tests/helix/send-to-helix-inner.proj
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,13 @@
<HelixPreCommand Include="$(_ShutdownDockerContainersCommand)" />
<HelixPreCommand Include="docker volume ls" />
<HelixPreCommand Include="$(_DeleteDockerVolumesCommand)" />
<HelixPreCommand Include="docker network prune -f" />

<HelixPostCommand Include="docker container ls --all" />
<HelixPostCommand Include="$(_ShutdownDockerContainersCommand)" />
<HelixPostCommand Include="docker volume ls" />
<HelixPostCommand Include="$(_DeleteDockerVolumesCommand)" />
<HelixPostCommand Include="docker network prune -f" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 6 additions & 0 deletions tests/helix/xunit.runner.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://xunit.net/schema/current/xunit.runner.schema.json",
"longRunningTestSeconds": 120,
"parallelizeAssembly": false,
"parallelizeTestCollections": false
}
Loading