Skip to content

fix(test): prevent "address already in use" error in dockertest#5150

Merged
zrbecker merged 1 commit intocometbft:mainfrom
zrbecker:zrb/fix_port_in_test
Jun 3, 2025
Merged

fix(test): prevent "address already in use" error in dockertest#5150
zrbecker merged 1 commit intocometbft:mainfrom
zrbecker:zrb/fix_port_in_test

Conversation

@zrbecker
Copy link
Copy Markdown

@zrbecker zrbecker commented Jun 3, 2025


Closes #5149

This fixes an issue where 5432 port is conflicting with a port already in use (presumably from another test)

PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments

@zrbecker zrbecker requested review from a team as code owners June 3, 2025 15:56
@ironbird-prod
Copy link
Copy Markdown

ironbird-prod bot commented Jun 3, 2025

Ironbird - launch a network To use Ironbird, you can use the following commands:
  • /ironbird start OR /ironbird start --load-test-config= - Launch a testnet with the specified chain and load test configuration.
  • /ironbird chains - List of chain images that ironbird can use to spin-up testnet
  • /ironbird loadtests - List of load test modes that ironbird can run against testnet
Custom Load Test Configuration You can provide a custom load test configuration using the `--load-test-config=` flag:
/ironbird start cosmos --load-test-config={
  "block_gas_limit_target": 0.75,
  "num_of_blocks": 50,
  "msgs": [
    {"weight": 0.3, "type": "MsgSend"},
    {"weight": 0.3, "type": "MsgMultiSend"},
	{"weight": 0.4, "type": "MsgArr", "ContainedType": "MsgSend", "NumMsgs": 3300}
  ]
}

Use /ironbird loadtests to see more examples.

@zrbecker zrbecker requested a review from aljo242 June 3, 2025 16:09
@zrbecker zrbecker enabled auto-merge June 3, 2025 16:10
@zrbecker zrbecker added this pull request to the merge queue Jun 3, 2025
Merged via the queue into cometbft:main with commit 0845f5e Jun 3, 2025
51 of 52 checks passed
@zrbecker zrbecker deleted the zrb/fix_port_in_test branch June 3, 2025 16:31
aljo242 pushed a commit that referenced this pull request Sep 2, 2025
Related: #5150
Closes:
https://linear.app/cosmoslabs/issue/STACK-1504/fix-consistent-flake-in-cometbft-ci-before-further-work

---


#### PR checklist

- [x] Tests written/updated
- [x] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [x] Updated relevant documentation (`docs/` or `spec/`) and code
comments
tqin7 pushed a commit to dydxprotocol/cometbft that referenced this pull request Oct 14, 2025
…t#5325)

Related: cometbft#5150
Closes:
https://linear.app/cosmoslabs/issue/STACK-1504/fix-consistent-flake-in-cometbft-ci-before-further-work

---


#### PR checklist

- [x] Tests written/updated
- [x] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [x] Updated relevant documentation (`docs/` or `spec/`) and code
comments
beer-1 pushed a commit to initia-labs/cometbft that referenced this pull request Oct 15, 2025
…t#5325)

Related: cometbft#5150
Closes:
https://linear.app/cosmoslabs/issue/STACK-1504/fix-consistent-flake-in-cometbft-ci-before-further-work

---


#### PR checklist

- [x] Tests written/updated
- [x] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [x] Updated relevant documentation (`docs/` or `spec/`) and code
comments
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.

Unit test is failing on main branch

2 participants