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

projectblacklight / spotlight / 4984
41%
master: 97%

Build:
Build:
LAST BUILD BRANCH: 298-indexing-job-summary
DEFAULT BRANCH: master
Ran 01 Feb 2017 11:22PM UTC
Jobs 2
Files 125
Run time 5min
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
4984

push

travis-ci

cbeer
refactor Spotlight::Resource reindexing stats tracking and the Spotlight::ReindexProgress that used to use it

* refactor the way Spotlight::Resource tracks indexing stats
  * add items_reindexed_estimate field to create_spotlight_reindexing_log_entries migration
  * resource.rb: refactor Spotlight::Resource#reindex so that it takes an optional ReindexingLogEntry; use the log entry to track the stats that Resource used to keep on itself.  remove unused methods.  update tests.
  * reindex_job.rb: use before_perform hook to update items_reindexed_estimate on the reindexing log entry, if there is one.  pass the log entry to resource.reindex.  add tests.
* refactor Spotlight::ReindexProgress to get a ReindexingLogEntry from an Exhibit, instead of dealing with a Resource list
  * refactor Spotlight::ReindexProgress so that it takes a Spotlight::Exhibit (instead of a Resource list), and uses the current ReindexingLogEntry from the Exhibit (if there is one).  fix Exhibit's call to ReindexProgress and have it initialize the log entries it creates to 0. update exhibit_spec.rb.
    * rewrite reindex_progress_spec.rb
  * reindex_monitor_spec.rb: fix the simulation of a recent reindexing job, slightly relax expectations for reindexing progress text to accommodate multi-digit numbers

31 of 31 new or added lines in 4 files covered. (100.0%)

3019 of 3125 relevant lines covered (96.61%)

454.13 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
app/jobs/spotlight/reindex_job.rb
Jobs
ID Job ID Ran Files Coverage
1 4984.1 (2.4.0) 01 Feb 2017 11:27PM UTC 0
96.29
Travis Job 4984.1
2 4984.2 (2.3.3, RAILS_VERSION=4.2.7.1) 01 Feb 2017 11:22PM UTC 0
96.41
Travis Job 4984.2
Source Files on build 4984
  • Tree
  • List 0
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #4984
  • 78726ae4 on github
  • Prev Build on 298-indexing-job-summary (#4976)
  • Next Build on 298-indexing-job-summary (#4873)
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