Drop hard-coded version string test, plus add dmedia_env()

Bug #907189 reported by Jason Gerard DeRose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Microfiber
Fix Released
High
Jason Gerard DeRose

Bug Description

A quick fix to make the unit tests compatible with CouchDB 1.1.1. I'm dropping the explicit version test and that's kinda annoying to have to change so often.

Also, I'm slipping in a dmedia_env() function similar to dc3_env(). Right now there really isn't much difference (although dmedia_env() also includes the Dmedia machine_id).

But in 12.01 we should be moving to having Dmedia be what starts CouchDB. This means one fewer process running, plus less spaghetti in our DBus activation chain. For those interested, Dmedia will start CouchDB using our UserCouch library, which we already use for all our unit tests:

https://launchpad.net/usercouch

Related branches

Changed in microfiber:
assignee: nobody → Jason Gerard DeRose (jderose)
summary: - Drop hard-coded version string test, plus dmedia_env()
+ Drop hard-coded version string test, plus add dmedia_env()
Changed in microfiber:
status: In Progress → Fix Committed
Changed in microfiber:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.