Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[tests] Move more tests to helix by overriding dcp path from assembly metadata #5215
[tests] Move more tests to helix by overriding dcp path from assembly metadata #5215
Changes from 3 commits
9b54a02
882c954
23e182e
73a5b44
1488996
7c32dd6
2ad24b1
b5517cf
7b0c277
4b842ea
f847361
2bb5753
63f1d69
63baf92
4b19cc9
75d1924
9e19a0c
ddba7ec
bd6df92
357a0b2
1a14351
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Are there any backwards compatibility concerns we need to maintain here? For example, if someone used an
8.1
Aspire.Hosting.AppHost package and an8.2
Aspire.Hosting package, I think this would break. Are we concerned about that level of mismatch?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.
Yep.
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.
One option would be to retain the 3 paths in the metadata as-is, but when
DcpPublisher__CliPath
is set then override the 3 paths based on thecliPath
.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.
Made the change.
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.
Is it possible to put this in the Hosting.Container.Tests so it doesn't need to be set everywhere?
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.
Would that be useful? Right now it would have to be by conditionally adding it on the work item itself.
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.
My thinking is that we wouldn't need a comment like
<!-- needed for Aspire.Hosting.Container.Tests -->
if it was in the Aspire.Hosting.Container.Tests project.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.
Agreed. In the follow up I'm generating run scripts which would allow individual test projects to control their own setups directly.