-
Notifications
You must be signed in to change notification settings - Fork 319
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
running dotnet test --logger:trx with docker does not always produce trx file #646
Comments
@schwamster You can provide custom filename for trx logger file.
Will this solve your issue? |
@harshjain2 valid workaround. still would be nice if it worked the same way ( plus compatible) not matter what operating system. |
@schwamster Thanks for the feedback. This issue seems to be specific to Win7 only.
|
@harshjain2 you are more or less right. The bigger problem i described above only applies to windows 7 + docker toolbox. It does work on win 10 with docker for windows - but if you look closely it also is a bit hacky. The colons get replaced by some other strange character. I suppose this is either windows or docker for windows compensating. So on win 10 it will be able to produce the report but it will still have inconsistent names -> example of reportfilename produced on linux mounted on win 10: while the file would look something like that on linux: and if you produce the report directly on windows you will end up with a file name like this: So to sum up, yes there is a workaround and it kind of works on win 10 but its not pretty :) |
Description
running dotnet test --logger:trx in a docker image where the respective folder is mounted (Win 7 Docker Toolbox) will not produce a trx file since the produced filename is not valid on windows.
Steps to reproduce
Win7 Docker Toolbox
The reason for this can be observed running the following sequence:
Now you can see that the trx file is created (since its done outside of the mounted volume) but you cant copy it - protocol error
Expected behavior
Actual behavior
Environment
Win 7,
Docker Toolbox
Other
See also original Issue: aspnet/aspnet-docker#211
The text was updated successfully, but these errors were encountered: