Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

messages: unbreak /ngx_pagespeed_messages #560

Merged
merged 1 commit into from Nov 12, 2013
Merged

Conversation

jeffkaufman
Copy link
Contributor

The shared circular buffer wasn't hooked up fully, which meant loading /ngx_pagespeed_messages didn't work. This fixes that and adds a test.

I also noticed while adding this that the 'Handling of large files' test wasn't set up properly, so I converted that to use start_test.

Fixing that exposed another bug where the 'Handling of large files' test was actually failing but being marked as an expected failure by being grouped in with the test above. Adding pagespeed MaxHtmlParseBytes 5000 to the appropriate location made it test what it was supposed to be testing again, and the underlying feature wasn't broken.

Fixes #559

The shared circular buffer wasn't hooked up fully, which meant loading
/ngx_pagespeed_messages didn't work.  This fixes that and adds a test.

I also noticed while adding this that the 'Handling of large files' test
wasn't set up properly, so I converted that to use start_test.

Fixing that exposed another bug where the 'Handling of large files' test
was actually failing but being marked as an expected failure by being
grouped in with the test above.  Adding `pagespeed MaxHtmlParseBytes 5000`
to the appropriate location made it test what it was supposed to be testing
again, and the underlying feature wasn't broken.
@oschaaf
Copy link
Member

oschaaf commented Nov 12, 2013

LGTM

jeffkaufman added a commit that referenced this pull request Nov 12, 2013
messages: unbreak /ngx_pagespeed_messages
@jeffkaufman jeffkaufman merged commit fa5815e into master Nov 12, 2013
@jeffkaufman jeffkaufman deleted the jefftk-fix-messages branch November 12, 2013 19:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ngx_pagespeed_messages broken
2 participants