-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Integration tests require image-preview to be compiled to run? #81822
Comments
via bb0dbb3 |
I would argue my fix is just a workaround. There is something I am not understanding:
As such I wonder if something is broken with regards to the packaging of the product for this extension. Bottom line: the build we run the integration tests against should include all the extensions that are built in. The previous build step is ensuring that. @mjbvz any clues? Is this a problem with marking the image preview extension UI vs workspace? |
I just confirmed that the extension is present on disk before the integration tests start by checking for the content of the image-preview folder. So I am still puzzled about the error. |
Thanks @bpasero! I cannot explain why this just started failing yesterday. Based on your analysis, here's an overview of what I think is happening:
/cc @Tyriar I think you worked on the remote integration tests. Do you have any insights on how it is loading our builtin extensions? |
I fully understand now. For remote tests I have to point to a different extensions dir because we need the test resolver extension to be present that is normally not shipped. That is unfortunate, but I have pushed a change to compile ALL extensions before running remote tests. Only way to resolve this differently is to somehow add the test resolver and then remove it after the tests have run. //cc @aeschli this means that our remote integration tests currently do not run with the built-in extensions of the product. |
We had to comment out this test -- 3f21572
It appears to fail in the integration tests on the remote machine case -- see discussion in release channel. The test is about opening a
.png
file and there is an error above where theimage-preview
extension could not be activated.The text was updated successfully, but these errors were encountered: