Skip to content
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

Debug windows conch failures #11624

Closed
wants to merge 22 commits into from

Conversation

exarkun
Copy link
Member

@exarkun exarkun commented Aug 29, 2022

Just for debugging Windows CI failures for #11616

These are handy for writing hamcrest-based tests for a lot of trial code.
The previous implementation used unnecessary fakes and encoded unnecessary
implementation details as well as unnecessarily duplicating in-memory
ITransport implementation available in other testing libraries in Twisted.

This is an almost-no-behavior-change commit that just makes the tests simpler
and exercises the code under test in a more realistic way.
make sure stopTest is called only once and with the right argument
This also removes the need for isTuple
They disagree with the inherited type which makes TestResult a very poorly
behaved subclass.  But, so it is.
@adiroiban
Copy link
Member

Might be about time to move Windows test on GitHub action and enable https://github.com/mxschmitt/action-tmate

i think is the best experience for troubleshooting tests on Windows .

If a test fails on Win or macOs, after the test run fails I connect via SSH and re-run and do debugging directly on the VM

We have this draft #1647 so maybe continue working on it.

@exarkun exarkun force-pushed the debug-windows-conch-failures branch from db6c722 to 416afd0 Compare August 29, 2022 22:40
@exarkun
Copy link
Member Author

exarkun commented Sep 7, 2022

This didn't really help and I'm done with it now anyway.

@exarkun exarkun closed this Sep 7, 2022
@exarkun exarkun deleted the debug-windows-conch-failures branch September 7, 2022 00:49
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.

None yet

2 participants