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

couchbase / moss / 109
83%

Build:
DEFAULT BRANCH: master
Ran 02 Oct 2016 08:47PM UTC
Jobs 1
Files 20
Run time 2s
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
109

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

Jobs
ID Job ID Ran Files Coverage
1 109.1 02 Oct 2016 08:47PM UTC 0
85.08
Travis Job 109.1
Source Files on build 109
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #109
  • 4ead51d0 on github
  • Prev Build on master (#108)
  • Next Build on master (#110)
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