Skip to content

Conversation

modmuss50
Copy link
Member

@modmuss50 modmuss50 commented Nov 30, 2024

It seems that the VSCode test runner will create multiple FabricLoaderLauncherSessionListener instances. We can only ever have one Knot instance so store it statically.

TODO test:

  • Gradle
  • Gradle via Intelij
  • Intelij (without Gradle)
  • VSCode
  • Eclipse (didnt work last I tried, but it might now)

It seems that the VSCode test runner will create multiple FabricLoaderLauncherSessionListener instances. We can only ever have one Knot instance so store it statically.
@haykam821
Copy link
Contributor

Visual Studio Code now works for running tests with these changes applied. This pull request will close #1000.

@CodexNotFound
Copy link

CodexNotFound commented Apr 29, 2025

How can we help getting this merged? Running mutation tests using PITest cause the same issue and this will probably fix it as well (I'm not sure how to test these changes locally)

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