• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mongodb-js / devtools-shared / 29343351867 / 20 – mongodb-redact
79%
main: 79%

Build:
Build:
LAST BUILD BRANCH: MONGOSH-3489
DEFAULT BRANCH: main
Ran 14 Jul 2026 03:15PM UTC
Files 7
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Jul 2026 12:51PM UTC coverage: 97.26%. First build
mongodb-redact – 29343351867.20

Pull #821

github

lerouxb
fix(mongodb-runner): don't leave a dangling --port flag on secondaries

removePortArg() only removed the value after --port, not the flag
itself, so replset secondaries got both the original --port and a
second --port 0 appended, causing mongod to reject the duplicate flag.

Also fixes two places that only checked args.includes('--port') and
therefore missed the --port=X form: the mongos random-port retry
logic and the default --port 0 injection. Extracted a shared
hasPortArg() helper in util.ts to avoid duplicating this check.
Pull Request #821: fix(mongodb-runner): don't leave a dangling --port flag on secondaries

20 of 22 branches covered (90.91%)

Branch coverage included in aggregate %.

51 of 51 relevant lines covered (100.0%)

53.45 hits per line

Source Files on job mongodb-redact - 29343351867.20
  • Tree
  • List 7
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 29343351867
  • 2786ccec on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc