Skip to content

rabbitmq_cli: Improve test node start (backport #12860) #12880

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 2 commits into from
Dec 3, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Dec 3, 2024

Make several improvements to the way the RabbitMQ test node is started:

  • Wait for the node to be ready befor proceeding with the tests
  • Export the value of $(MAKE) to make sure the correct make command is used by nested instances
  • Honor $RABBITMQ_METADATA_STORE when starting the test node

See individual commits.


This is an automatic backport of pull request #12860 done by Mergify.

[Why]
The `run-background-broker` does not wait for the node to be ready,
leading to some transient errors in the testsuite.

[How]
The `start-background-broker` does wait.

While here, export the value of `$(MAKE)`. Otherwise, nested uses of
make(1) may use the wrong make command.

(cherry picked from commit e480513)
@mergify mergify bot added the make label Dec 3, 2024
@dumbbell dumbbell marked this pull request as draft December 3, 2024 09:40
[Why]
Two reasons:
1. ~~We need to set the correct feature flags on the test node we have to
   start.~~ In 4.0.x, we don't set `$RABBITMQ_FEATURE_FLAGS` because it
   has no support for +/-feature_flag.
2. We can skip Mnesia- or Khepri-specific tests if they are marked.

(cherry picked from commit 0411864)
@dumbbell dumbbell force-pushed the mergify/bp/v4.0.x/pr-12860 branch from 1a8f1e3 to 1f74193 Compare December 3, 2024 11:22
@dumbbell dumbbell marked this pull request as ready for review December 3, 2024 11:36
@dumbbell dumbbell merged commit 4feb741 into v4.0.x Dec 3, 2024
271 checks passed
@dumbbell dumbbell deleted the mergify/bp/v4.0.x/pr-12860 branch December 3, 2024 11:36
@dumbbell dumbbell added this to the 4.0.5 milestone Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant