-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Run Java tests on Helix #18938
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run Java tests on Helix #18938
Conversation
@@ -1,5 +1,5 @@ | |||
<Project DefaultTargets="Build"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The project rename to have .Tests
at the end is an unfortunate side-effect of how arcade determines if a project is a test or not, which we use when deciding how helix should behave.
@@ -0,0 +1,62 @@ | |||
<# |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can the existing InstallJdk
scripts from eng/scripts/ grow parameters to avoid duplicating them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately we need the script to be in this folder for helix, so either we duplicate the script, or use this one for everything
|
||
<ItemGroup Condition="'$(TestDependsOnMssql)' == 'true' AND '$(IsWindowsHelixQueue)' == 'true'"> | ||
<HelixPreCommand Include="call RunPowershell.cmd mssql\InstallSqlServerLocalDB.ps1 || exit /b 1" /> | ||
</ItemGroup> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure but I bet this block can be removed. The on test project that sets $(TestDependsOnMssql)
doesn't use SQL Server.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤷♂ Unrelated to this change, this is just moved from the props file.
Part of #18799