Mephisto Caching and CI

Subscribe to Mephisto Caching and CI 3 post(s), 2 voice(s)

 
Avatar Mark 2 post(s)

I recently imported a mephisto app into Roundhaus and there seemed to be issue when running the “caching” tests. These checked out fine on my local, but even after including the “tmp/cache” directory in my repo (which I would rather not have done) I was still getting the following errors. I ended up just commenting the tests out cuz I couldn’t handle roundhaus repeated telling me I broke it…

Here’s the output from one of the tests that was failing. (There were also several functional test not working in the Mephisto 0.7.3 with Rails 1.2 stable. I ended up committing the comment sin on those as well.):

1) Failure:
test_should_expire_feeds_and_sections_when_publishing_article(CachingTest)
[./test/integration/../referenced_caching_test_helper.rb:29:in
`assert_not_cached'
./test/integration/../referenced_caching_test_helper.rb:19:in
`assert_expires_pages' ./test/integration/../referenced_caching_test_helper.rb:19:in `map'
./test/integration/../referenced_caching_test_helper.rb:19:in
`assert_expires_pages'
./test/integration/caching_test.rb:34:in
`test_should_expire_feeds_and_sections_when_publishing_article' ./test/integration/../test_helper.rb:199:in `assert_difference'
./test/integration/caching_test.rb:33:in
`test_should_expire_feeds_and_sections_when_publishing_article' /build/vendor/plugins/mocha/lib/mocha/test_case_adapter.rb:19:in `send' /build/vendor/plugins/mocha/lib/mocha/test_case_adapter.rb:19:in `run'
/build/vendor/rails/actionpack/lib/action_controller/integration.rb:463:in
`run']: is cached.
<false> is not true.
 
Avatar Jonathan Administrator 4 post(s)

Hi Mark,

I’m out of town but I’ll look at seeing why the builds are failing for Mephisto and get back to you in the next few days.

Update Dec 17
I’ve downloaded Mephisto 0.7.3 to my MacBookPro and to the build server (FreeBSD), froze Rails to 1.2.6 and tried to run the tests. I’m getting build failures on both machines. Are you able to run the mephisto tests locally on your machine without errors?

 
Avatar Mark 2 post(s)

Sorry for the delayed response. I’m not getting emails even though I’ve chosen to “monitor”...maybe they are in the junk folder…anyways…

The 0.7.3 build from Mephisto did not work on my local initially. What I did do was comment out all the tests that were failing on my local until everything passed locally. Then I committed to the build server and it gave me errors on caching tests that were passing locally.

If you like, I should be able to get you a copy of my “comment out the failing tests and make it work locally” version of mephisto. It’s not mission critical or anything…