Skip to content

Fix #11885: disable flaky idempotency test on Windows #11944

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

Merged
merged 1 commit into from
Mar 30, 2021

Conversation

liufengyun
Copy link
Contributor

Fix #11885: disable flaky idempotency test on Windows

This is a temporary fix.

[test_windows_full]

val blacklisted = Set(
val flakytests =
if scala.util.Properties.isWin
then Set(s"pos{JFile.separator}i6507b")
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
then Set(s"pos{JFile.separator}i6507b")
then Set(s"pos${JFile.separator}i6507b")

The blacklist bellow seems to have the same issue. Maybe we should handle these paths as JPath to avoid the \ vs / complications.

Copy link
Contributor Author

@liufengyun liufengyun Mar 30, 2021

Choose a reason for hiding this comment

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

Actually, we can try to remove the blacklist below, as they are not effective.

Edit: Changing to JPath will make the code depend on the implementation of JPath toString. I'd suggest keeping what we have.

Copy link
Contributor

Choose a reason for hiding this comment

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

I meant not to use the toString in the first place

Copy link
Contributor

Choose a reason for hiding this comment

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

This can be improve in a subsequent PR

@liufengyun liufengyun merged commit 70cecaa into scala:master Mar 30, 2021
@liufengyun liufengyun deleted the fix-11885 branch March 30, 2021 15:21
@smarter
Copy link
Member

smarter commented Mar 30, 2021

Looks like this didn't work, the merge commit for this PR failed test_windows_full in the usual way: https://github.com/lampepfl/dotty/runs/2229032212

@liufengyun
Copy link
Contributor Author

liufengyun commented Mar 30, 2021

We forget the file extension, fixed in #11950.

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.

IdempotencyTests is flaky on Windows
3 participants