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

hyperledger / fabric-x-committer / 23287424403
91%

Build:
DEFAULT BRANCH: main
Ran 19 Mar 2026 09:07AM UTC
Jobs 0
Files 0
Run time –
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

pending completion
23287424403

push

github

web-flow
[test] Fix race condition when accessing command buffer output (#447)

#### Type of change

- Bug fix
- Test update

#### Description

Root cause: The test was experiencing a race condition when accessing
command output buffers. In `UnitTestRunner`, the command execution runs
in a goroutine that continuously writes output to `bytes.Buffer`
instances (cmdStdOut and cmdStdErr), while simultaneously another
goroutine in `assert.Eventually` reads from these buffers via
`cmdStdOut.String()` to check for expected output. Since `bytes.Buffer`
is not thread-safe for concurrent read/write operations, this caused
data races detected by the race detector when multiple goroutines
accessed the buffer simultaneously.

#### Related issues

- discovered by #442

Signed-off-by: Liran Funaro <liran.funaro@gmail.com>
Source Files on build 23287424403
Detailed source file information is not available for this build.
  • Back to Repo
  • 00527a0d on github
  • Prev Build on main (#23247580845)
  • Next Build on main (#23287433166)
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