-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Tests which use deployers do not work on Helix #10268
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
Comments
@anurse - thoughts on this one? Is this something Build Team or K Core should do? |
I think think belongs mostly on the KCore side. We need to update all our tests to build the site during build and just run them during tests. @Tratcher @jkotalik I think you've both done some looking at that in the past, do you know where we stand there? Which server functional tests remain un-Helixable? |
From what I can tell, besides IIS tests, all functional test with deployers do not run on helix. From my knowledge so far, I think all of them can be put on helix, it's just that no one has committed the work to fix them. |
Ok, cool. I think that work probably lives with us then. Swapping to servers area. I'll put it in p8 because I do think we should try to get this done. The fact that it doesn't affect customer code does mean it'll probably have a lowish priority for now though. |
@anurse is this only for the hosting Shutdown tests or are you using this to track other tests in aspnetcore? /cc @maryamariyan |
@ericstj this tracks the deployers used in the server functional tests. At one point we made a simplified copy of those deployers for the hosting shutdown tests in the extensions repo. |
OK, we'll make a separate issue to track the extensions project. |
@JunTaoLuo you were looking into deployers for grpc tests, right? Is that tracked in a separate issue? Besides that, there are a few server tests and music store tests that could be ported to helix, but they aren't critical tests. |
The current design of test deployers requires the source code for the test projects to exist on the machine running tests AND for the code to be buildable at test-time. This creates two problems:
Potential solutions
Two options:
dotnet foo.dll
) instead of on source (dotnet publish && dotnet run
)Option 1 is preferable because it is easier to ensure the code can compile when we change APIs, and in many cases we're not especially interested in testing the behavior of the SDK.
Option 2 has some marginal benefit in that it reduces the up-front build time of the repo and makes the test payload smaller.
cc @Tratcher @anurse
The text was updated successfully, but these errors were encountered: