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

realm / realm-core / 2482
91%

Build:
DEFAULT BRANCH: master
Ran 11 Jul 2024 01:38AM UTC
Jobs 2
Files 658
Run time 4min
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

11 Jul 2024 01:03AM UTC coverage: 90.971%. First build
2482

push

Evergreen

web-flow
Fix data races in the connection state changes tests (#7871)

The assignment to token1 on the main thread and the read of it on the sync
worker thread didn't have any intervening synchronization and in theory the
callback could read it before it's actually written. Fixing this requires
adding some locking.

Conversely, listener2 doesn't actually need to be atomic since the second
callback should only ever be invokved synchronously inside log_out(), and if
it's called at some other time that's a bug.

It doesn't matter here, but `listener1_call_cnt = listener1_call_cnt + 1` is a
nonatomic increment that will drop updates if it happens on multiple threads at
once, while `++` will not.

102278 of 180462 branches covered (56.68%)

8 of 9 new or added lines in 1 file covered. (88.89%)

215177 of 236534 relevant lines covered (90.97%)

5615481.07 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
96.2
test/object-store/sync/session/connection_change_notifications.cpp
Jobs
ID Job ID Ran Files Coverage
1 ubuntu-x86_64 - 2482.1 11 Jul 2024 02:35AM UTC 645
90.67
2 macos-arm64 - 2482.2 11 Jul 2024 02:37AM UTC 653
90.53
Source Files on build 2482
  • Tree
  • List 658
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 5dc121b3 on github
  • Prev Build on master (#2480)
  • Next Build on master (#2483)
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

© 2025 Coveralls, Inc