Skip to content

Skip tests that cause RustPython to hang.#2905

Merged
DimitrisJim merged 2 commits into
RustPython:masterfrom
DimitrisJim:skip_deadlocks
Aug 18, 2021
Merged

Skip tests that cause RustPython to hang.#2905
DimitrisJim merged 2 commits into
RustPython:masterfrom
DimitrisJim:skip_deadlocks

Conversation

@DimitrisJim

@DimitrisJim DimitrisJim commented Aug 18, 2021

Copy link
Copy Markdown
Member

Temporarily so that other PRs don't get stalled until its fixed. Note that these don't hang consistently, they do hang often, though.

@DimitrisJim

Copy link
Copy Markdown
Member Author

test_deadlock is only sometimes hanging. From a quick run I've done it hangs once every 10-15 runs. The other two are more common, hanging at 1 out of ~5 runs.

Comment thread Lib/test/lock_tests.py Outdated
self.assertFalse(result[0])
lock.release()

@unittest.skip("TODO: RUSTPYTHON hangs")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
@unittest.skip("TODO: RUSTPYTHON hangs")
@unittest.skip("TODO: RUSTPYTHON occasionally hangs")

Probably the word occasional will be helpful to prevent removing skip again before fixing it correctly

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ah, @fanninpm already did it in different PR. how about just pulling it?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@youknowone I'm okay with you and/or @DimitrisJim cherry-picking those commits.

youknowone
youknowone previously approved these changes Aug 18, 2021
@youknowone youknowone dismissed their stale review August 18, 2021 11:52

preference to prev work

@DimitrisJim DimitrisJim merged commit 0a6edab into RustPython:master Aug 18, 2021
@DimitrisJim DimitrisJim deleted the skip_deadlocks branch November 7, 2021 09:05
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.

3 participants