Skip to content

Conversation

@alexperovich
Copy link
Member

@alexperovich alexperovich commented Apr 29, 2021

public class RemoteExecutorTests
{
[Fact]
[Fact(Skip = "Remote executor is broken in VS test explorer")]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does this not disable it from normal console execution?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that even possible?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its only possible by basically rewriting swaths of xunit to make a custom Fact attribute.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought runtime did this all the time using some kind of extension pattern. Just seems like perma-skip = never run and I understand they pass outside of VS.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Runtime has a huge swath of custom fact stuff that I don't think we want to duplicate just to deal with these handful of tests. :-)

@alexperovich
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@alexperovich alexperovich merged commit a7291d7 into dotnet:main May 3, 2021
@alexperovich alexperovich deleted the disableRemoteExectuorTests branch May 3, 2021 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants