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

esl / MongooseIM / 3894 / 5
86%
master: 86%

Build:
DEFAULT BRANCH: master
Ran 03 Jan 2018 06:17PM UTC
Files 289
Run time 1min
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

03 Jan 2018 05:25PM UTC coverage: 19.326% (+0.003%) from 19.323%
PRESET=cassandra_mnesia DB=cassandra REL_CONFIG=with-cassandra CASSANDRA_VERSION=3.9

push

travis-ci

fenek
mod_muc - fix for room registration race condition (#1608)

* Prepare for test

Add meck functions for mod muc

* Add regression tests, handle race condition

Tests are passing and started processes for identical rooms are terminated
The tests do not include check for the actual process, only the registered pid

* Remove comments

Some unused code was commented out, removed those comments

* Improve new test case names

Give the new test cases slightly more descriptive names

* Failing tests, investigating cause

Committing to checkout master

* Add sleep timer before mnesia read transaction

If Mnesia is slowed down by the tests the read operation will try to read
before a previous write transaction has completed.
The timer will now give the test some breathing room to complete the transaction

* Apply dialyzer fix

Added appropriate return value to function spec

* Apply review changes

Remove unnecessary sleeps in tests
Refactor record and macro definitions to header files
No longer ignore return value of mod_muc_room:route/5

* Apply requested changes

Revert header file changes
Use existing functions in tests instead of mnesia calls
Clarify function names in mod_muc previously related to routing
Add stop/1 function in mod_muc_room

5443 of 28164 relevant lines covered (19.33%)

99.69 hits per line

Source Files on job 3894.5 (PRESET=cassandra_mnesia DB=cassandra REL_CONFIG=with-cassandra CASSANDRA_VERSION=3.9)
  • Tree
  • List 0
  • Changed 18
  • Source Changed 2
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3894
  • Travis Job 3894.5
  • 33a7e1fa on github
  • Prev Job for PRESET=cassandra_mnesia DB=cassandra REL_CONFIG=with-cassandra CASSANDRA_VERSION=3.9 on master (#3890.5)
  • Next Job for PRESET=cassandra_mnesia DB=cassandra REL_CONFIG=with-cassandra CASSANDRA_VERSION=3.9 on master (#3896.5)
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