Skip to content

Fix false passes when commands are rejected - #17

Open
kdcokenny wants to merge 2 commits into
FlintTestMC:masterfrom
kdcokenny:fix/rejected-synchronized-commands
Open

Fix false passes when commands are rejected#17
kdcokenny wants to merge 2 commits into
FlintTestMC:masterfrom
kdcokenny:fix/rejected-synchronized-commands

Conversation

@kdcokenny

@kdcokenny kdcokenny commented Aug 13, 2026

Copy link
Copy Markdown

FlintCLI no longer treats the receipt marker as proof that the command worked.

  • fail when the server rejects a command
  • handle timeouts and disconnects
  • add valid/invalid fill checks
  • run everything through Rust's test runner

Tested with:

FLINTMC_TEST_SERVER=localhost:25565 cargo test --locked -- --include-ignored --test-threads=1

@kdcokenny

Copy link
Copy Markdown
Author

is modifying the workflow out of scope? lmk if so, i'll rm it

Comment thread .github/workflows/test.yml Outdated
- name: Run FlintMC Tests
run: |
# Run all example tests
cargo run -- FlintBenchmark/tests/ --server localhost:25565 --recursive --verbose

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.

I want this to still run to confirm that test added in FlintBenchmark still work against vanilla

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.

2 participants