Merge lp:~tvansteenburgh/charms/trusty/mediawiki/fix-tests into lp:charms/trusty/mediawiki
Proposed by
Tim Van Steenburgh
Status: | Merged |
---|---|
Merged at revision: | 83 |
Proposed branch: | lp:~tvansteenburgh/charms/trusty/mediawiki/fix-tests |
Merge into: | lp:charms/trusty/mediawiki |
Diff against target: |
20 lines (+1/-2) 1 file modified
tests/100-deploy (+1/-2) |
To merge this branch: | bzr merge lp:~tvansteenburgh/charms/trusty/mediawiki/fix-tests |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Charles Butler (community) | Approve | ||
Review via email: mp+271875@code.launchpad.net |
Description of the change
Configure memcached to work w/o ipv6 so tests can run on lxc.
To post a comment you must log in.
Hey Tim, thanks for this update. Your change is super simple and I was able to run the tests successfully. Then I started poking around...
The last 100-deploy test doesn't actually test a login. It "posts" login data to the mediawiki homepage, and then just checks that the <title> has our expected config. There's no form submission going on in that exercise, so it's not really a valid login test. Mediawiki exposes a login api that we could use. Here's an MP for your MP:
https:/ /code.launchpad .net/~kwmonroe/ charms/ trusty/ mediawiki/ test-updates/ +merge/ 274793
Again, i know you didn't introduce this issue, but if you're gonna call your branch "fix-tests", by golly, let's fix 'em.