Skip to content

Add conveyorRoundRobinTest to the coverTests#3860

Draft
jtuc wants to merge 1 commit intoGregTechCEu:1.20.1from
jtuc:conveyor-round-robin-test
Draft

Add conveyorRoundRobinTest to the coverTests#3860
jtuc wants to merge 1 commit intoGregTechCEu:1.20.1from
jtuc:conveyor-round-robin-test

Conversation

@jtuc
Copy link
Copy Markdown
Contributor

@jtuc jtuc commented Sep 4, 2025

What

Adds a new conveyorRoundRobinTest to the conveyor gametests.

Implementation Details

I'm using the empty5x5 template and placing blocks via code - it's possible that setting up the test via a structure would be better? I've done it via code for now to match the other tests and make similar tests easier to write.
This is the first time I've messed with gametests, so any feedback would be appreciated.

Additional Information

I think this is the first gametest that exercises the PipeNet code?
It would probably be a good idea to also have a test for DistributionMode.ROUND_ROBIN_PRIO, but it seems there's still some discussion on what that mode is actually supposed to do.

@jtuc jtuc requested a review from a team as a code owner September 4, 2025 12:14
@github-actions github-actions bot added the 1.20.1 label Sep 4, 2025
@jurrejelle jurrejelle added ignore changelog PR should not be added to the changelog. Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. type: tests Test related changes labels Sep 4, 2025
@jtuc jtuc marked this pull request as draft September 4, 2025 12:34
@jtuc
Copy link
Copy Markdown
Contributor Author

jtuc commented Sep 4, 2025

Test is failing after I rebased to latest - looks like maybe I need to call something extra to get the pipe connections synced properly? Drafting for now, will have another go later.
2025-09-04_13 35 40

@jtuc
Copy link
Copy Markdown
Contributor Author

jtuc commented Sep 5, 2025

Possibly failing due to #3862? Test consistently fails for me in-client, but consistently passes from gradle :runGameTestServer. ¯\_(ツ)_/¯

@jtuc jtuc force-pushed the conveyor-round-robin-test branch from 62054b4 to 75d961d Compare September 12, 2025 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.20.1 ignore changelog PR should not be added to the changelog. Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. type: tests Test related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants