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

Fix random ResourceFolderModel test failures on some Windows builds #731

Merged
merged 1 commit into from Jan 11, 2023

Conversation

flowln
Copy link
Contributor

@flowln flowln commented Jan 10, 2023

Based on my not so through and not very scientific testing, it seems like trashing on Windows Server (used by the CI runner) is borked :)

The tests started failing after the PR that added confirmation on deletion was added, and ever since, when the test didn't outright fail, it took seconds to complete, particularly on the MSVC Legacy builds. With this patch, it seems to be back to normal.

Anyway, we don't really need to trash the files on the tests for them to test what they do, so 🤷‍♀️

For some reason this makes some of our CI test runs super slow, and
sometimes fail miserably.

Signed-off-by: flow <flowlnlnln@gmail.com>
@flowln flowln added bug Something isn't working simple change actions Issues and PRs related to GH actions and other CIs we might have Windows Issues and PRs related to WIndows specifically labels Jan 10, 2023
Copy link
Member

@Scrumplex Scrumplex left a comment

Choose a reason for hiding this comment

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

lgtm

@TheLastRar
Copy link
Contributor

I had also looked into this and found that the trash function was at fault, although I never figured out why Qt 5 was much more adversely affected over Qt 6.

@Scrumplex Scrumplex merged commit 219c5b3 into PrismLauncher:develop Jan 11, 2023
@Scrumplex Scrumplex added this to the 6.2 milestone Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
actions Issues and PRs related to GH actions and other CIs we might have bug Something isn't working simple change Windows Issues and PRs related to WIndows specifically
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants