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

couchbase / moss / 109 / 1
83%
master: 83%

Build:
DEFAULT BRANCH: master
Ran 02 Oct 2016 08:47PM UTC
Files 20
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

02 Oct 2016 08:46PM UTC coverage: 85.079% (+0.2%) from 84.912%
109.1

push

travis-ci

steveyen
iteratorSingle handles deletions correctly

While running unit tests, I saw an rare instance of this unit test
failure...

    --- FAIL: TestOpsAsyncMergeBatchSize1 (0.00s)
    collection_test.go:592: itr, testi: 81,
     test: struct { op string; k string; v string; expErr error }
           {op:"itr", k:"_:_", v:"+b=BBB,+f=F", expErr:error(nil)},
           expEntries: [+b=BBB +f=F], gotEntries: [+b=BBB -d= +f=F]

The theory is that the background merger goroutine rarely,
occasionally wins some concurrency race, and merges all segments into
a single level.

Then the iterator test code runs next, and that therefore goes through
the iteratorSingle codepaths.

The iteratorSingle was not handling deletion ops correctly (it should
have skipped them).

Change-Id: Ie5ad8ba1e
Reviewed-on: http://review.couchbase.org/68256
Reviewed-by: Marty Schoch <marty.schoch@gmail.com>
Tested-by: Steve Yen <steve.yen@gmail.com>

2144 of 2520 relevant lines covered (85.08%)

10167.61 hits per line

Source Files on job 109.1
  • Tree
  • List 0
  • Changed 17
  • Source Changed 2
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 109
  • Travis Job 109.1
  • 4ead51d0 on github
  • Prev Job for on master (#108.1)
  • Next Job for on master (#110.1)
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