From de99c60bb8d29675a52243016d97471fdb74838e Mon Sep 17 00:00:00 2001 From: Ankit Jain Date: Mon, 12 Aug 2024 16:34:15 -0400 Subject: [PATCH] Bump timeout for Aspire.Hosting.Elasticsearch.Tests to 20 mins --- tests/helix/send-to-helix-basictests.targets | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/helix/send-to-helix-basictests.targets b/tests/helix/send-to-helix-basictests.targets index a12228b85a..d959cb7c1f 100644 --- a/tests/helix/send-to-helix-basictests.targets +++ b/tests/helix/send-to-helix-basictests.targets @@ -10,6 +10,9 @@ + + <_TestRunCommandArguments Condition="'$(OS)' != 'Windows_NT'" Include="-- RunConfiguration.TestSessionTimeout=$TEST_TIMEOUT" /> + <_TestRunCommandArguments Condition="'$(OS)' == 'Windows_NT'" Include="-- RunConfiguration.TestSessionTimeout=%TEST_TIMEOUT%" /> @@ -21,10 +24,14 @@ <_DefaultWorkItems Include="$(WorkItemArchiveWildCard)" /> + + <_DefaultWorkItems TimeoutMs="600000" /> + + <_DefaultWorkItems Condition="'%(FileName)' == 'Aspire.Hosting.Elasticsearch.Tests'" TimeoutMs="1200000" /> %(Identity) - $(_EnvVarSetKeyword) "TEST_NAME=%(FileName)" + $(_EnvVarSetKeyword) "TEST_NAME=%(FileName)" $(_ShellCommandSeparator) $(_EnvVarSetKeyword) TEST_TIMEOUT=%(TimeoutMs) cp $(_HelixLogsPath)/TestResults.trx $(_HelixLogsPath)/$(_TestNameEnvVar).trx copy "$(_HelixLogsPath)\TestResults.trx" "$(_HelixLogsPath)\$(_TestNameEnvVar).trx"