hillsp
2d24ec68f1
Additional suppressions for new RE2 ( #1266 )
2016-09-06 10:07:40 -04:00
Jeff Kaufman
94dde75a86
combine-ids: add configuration for system test ( #1259 )
2016-09-01 15:04:03 -04:00
Joshua Marantz
9b47332d9c
allow sloppy exit ( #1258 )
...
* set up a test subdir with cc:public
* allow 'adding function to sequence' warnings on shutdown, without breaking the nginx debug tests
2016-08-29 17:06:26 -04:00
Jeff Kaufman
f8f32efb97
Test shm checkpointing. Relies on shm checkpointing implementation in mod_pagespeed. ( #930 )
2016-08-23 07:46:20 -04:00
Otto van der Schaaf
3015cf0372
Allow processing of script variablies in more options ( #1239 )
...
All directory- and process- scoped options are allowed with this
change, when "ProcessScriptVariables all" is specified.
Option list compiled from:
https://docs.google.com/spreadsheets/d/1qJSUZqd2Te-4SDtm1Av6u-AckNv_oHEp1qdaUjNqZoM/edit#gid=0
2016-08-10 21:04:47 +02:00
Jeff Kaufman
7fd0f3ee2f
rewrite-options: don't turn on CoreFilters just because of query params ( #1228 )
...
Fixes https://github.com/pagespeed/ngx_pagespeed/issues/1190
2016-08-04 10:44:46 -07:00
Jeffrey Crowell
a919a926f4
nginx side of https://github.com/pagespeed/mod_pagespeed/issues/1371 ( #1235 )
...
nginx side of the change
https://github.com/pagespeed/mod_pagespeed/issues/1371
2016-08-03 13:09:22 -05:00
Jeff Kaufman
ed5a43ef72
rewrite-domains: add test configuration for rewriting static assets ( #1223 )
...
Needed for fixing https://github.com/pagespeed/mod_pagespeed/issues/1350
2016-08-02 11:46:20 -07:00
Jeff Kaufman
ee27b5bd7a
json: add content-type and cache-control for example json file ( #1224 )
2016-07-18 11:15:31 -04:00
Otto van der Schaaf
ebe7c61f4f
Make ngx_pagespeed behave like mod_pagespeed with regard to Flushing ( #1217 )
...
This change makes ngx_pagespeed listen to the FollowFlushes option.
When set to on (=default), ngx_pagespeed will forward incoming flushes
to ProxyFetch. When writing output, we'll now also set the flush flag on
the buffers we are about to send downstream.
Companion to mps commit: https://github.com/pagespeed/mod_pagespeed/commit/02de03e825bbd1f8d4ad4e1a1bef5263a16f3857
2016-07-12 12:26:38 -04:00
Jeff Kaufman
44626a4121
url-valued-attributes: tests for mod_pagespeed/f2f0075
2016-06-24 16:54:23 -04:00
Joshua Marantz
271b0c1f15
set up a test subdir with cc:public ( #1215 )
2016-06-16 09:54:06 -04:00
hillsp
1bb10ec599
Suppress controller warnings in test, fix up kill signals ( #1210 )
...
* Suppress controller warnings in test, fix up kill signals
* Switch valgrind shutdown to QUIT
2016-06-10 14:54:49 -04:00
Joshua Marantz
d7f48d88c6
Pass the install-path into Makefile ( #1200 )
...
* Pass the install-path into Makefile, rather than having the Makefile
depend on PWD.
* Move the double-quotes be before the value, to be consistent with other
Makefiles.
2016-05-16 13:32:28 -04:00
Steve Hill
fd26b873e9
Remove stray -q on pgrep.
2016-05-13 17:47:09 -04:00
hillsp
d6c395151f
Fix nginx_system_test so that it doesn't wait for verify_nginx_release.sh ( #1199 )
...
or wait indefinitely if it can't kill nginx.
2016-05-13 16:06:38 -04:00
Joshua Marantz
dab6b8ac04
During system-tests, don't write into the source-controlled htdocs area. ( #1197 )
...
Instead, use a new (not-yet-committed) target in Makefile.tests to build
a mirror htdocs in test/tmp/root that sym-links the large readonly
section and deep copies the test areas for purge and flush tests.
2016-05-13 08:44:14 -04:00
Joshua Marantz
be7837507f
respect purge requests when serving ipro requests from ngx_pagespeed ( #1193 )
...
* respect purge requests when serving ipro requests from ngx_pagespeed
* Add TODO to share common base with ApacheFetch.
2016-05-11 11:08:04 -04:00
Nikolay Kolev
76bc257af6
Removed the redundant bracket. ( #1189 )
2016-05-05 14:44:59 -04:00
hillsp
090ec03a68
System test updates for CentralControllerPort. ( #1182 )
2016-04-28 15:45:29 -04:00
Jeffrey Crowell
6f5042020b
fix up the description in the run_tests.sh ( #1176 )
...
run_tests had the wrong invocation of the script in the comments. fix
that.
2016-04-11 16:52:02 -04:00
Jeff Kaufman
f3063e2daa
Companion to mps change to set s-maxage on unoptimized ipro resources ( #1171 )
2016-04-07 16:02:02 -04:00
Jeff Kaufman
297b4ab34b
handle additional warnings
2016-03-29 10:07:09 -04:00
Jeff Kaufman
c3f2858e31
controller: don't fail tests when running in emacs
...
Apparently, when running in emacs and piped into another command, ps limits
it's output to COLUMNS making check_process_names fail. Telling ps to use
wide, wide output with 'ww' fixes this.
Additionally, use check_from so that if this test does fail we can debug
it better, seeing what grep was looking at.
2016-03-15 16:36:52 -04:00
Jeff Kaufman
a9142f0003
Merge pull request #1105 from pagespeed/oschaaf-trunk-tracking-issue-1064
...
vary-header: Emit a single vary header in the IPRO flow
2016-03-08 06:21:46 -08:00
Jeff Kaufman
8efb831ba4
Support centralized process changes in github.com/pagespeed/mod_pagespeed/commit/9bf7523
2016-03-07 16:14:43 -05:00
huibaolin
fcbe51efaf
Merge pull request #1145 from pagespeed/huibao-webp
...
Add system tests for image format, quality, and response in IPRO
2016-03-07 11:41:53 -05:00
Kees Spoelstra
08e284f9cb
Strip subresource hints pagespeed automatic system test configuration
...
Corresponding changes for:
- pull https://github.com/pagespeed/mod_pagespeed/pull/1204
- issue Strip subresource hints #973 https://github.com/pagespeed/mod_pagespeed/issues/973
2016-03-07 10:50:59 -05:00
Huibao Lin
8582bab69c
Add system tests for image format, quality, and response in IPRO
2016-03-07 09:58:44 -05:00
Huibao Lin
54bd8bf4f8
For backward compatibility, only allow varying on Accept header for ipro-for-browser.example.com
2016-02-18 11:29:27 -05:00
Otto van der Schaaf
b081bb7aec
vary-header: Emit a single vary header in the IPRO flow
...
The report from some time ago mentioned three Vary: headers,
but I can now only reproduce two using trunk-tracking plus the
original repro-configuration.
This fix unflags r->gzip_vary as set by the gzip module when PSOL
hands us Vary: Accept-Encoding, to make sure that nginx's core
header filter doesn't append another one.
Fixes https://github.com/pagespeed/ngx_pagespeed/issues/1064
2016-01-28 03:37:01 +01:00
Jeff Kaufman
b214fb43e3
Merge pull request #1061 from pagespeed/oschaaf-trunk-tracking-add-resource-header
...
AddResourceHeader: Add test configuration
2016-01-19 13:26:01 -05:00
Joshua Marantz
9e6048f771
Merge pull request #1092 from pagespeed/jmarantz-ipro-flow-cache-not-flaky
...
remove 'IPRO flow uses cache as expected' from flaky-list, ...
2016-01-05 15:11:46 -05:00
Joshua Marantz
a512d95258
remove 'IPRO flow uses cache as expected' from flaky-list, but strip out 'Fetch timed out' from log-warning check
2016-01-05 11:46:35 -05:00
Otto van der Schaaf
1964ef5219
Fix crasher on 404 .pagespeed. resources w/a custom location
...
- Fix nginx-side flow so we handle .pagespeed. resources ok
when they will land on a customized 404 internal location.
- Additionally, check for a wiped request context and make sure
we do not dereference a null pointer, which is what hurt in
the flow we entered above as the IPRO lookup still was
generating events while the nginx side request context was
gone.
- Also, as a preliminary measure, do not check fail when we
receive a stale event originating from a NgxBaseFetch that
is no longer associated with our request context.
Do log a warning so we'll hear about this happening either
through system test failures or a bug report.
Fixes https://github.com/pagespeed/ngx_pagespeed/issues/1081
2015-12-28 15:59:13 +01:00
Otto van der Schaaf
2b74f6bed3
AddResourceHeader: Add test configuration
...
nps side of https://github.com/pagespeed/mod_pagespeed/pull/1200
2015-12-09 04:35:24 +01:00
Joshua Marantz
14aa4fd962
suppress errors on new 2-pass and 3-pass ipro tests
2015-12-02 15:01:37 -05:00
Joshua Marantz
706577a34b
do not consider it a test failure to get a slow ReadFile operation.
2015-12-02 08:27:47 -05:00
Otto van der Schaaf
40c05b4a4f
location-header: Be careful with headers_out->location
...
Only set headers_out->location when the upstream originally did
as well. If the Location: header value involved starts with "/"
nginx will absolutify it, ignoring any X-Forwarded-Proto header
in the process.
Fixes https://github.com/pagespeed/ngx_pagespeed/issues/819
(Confirmed: https://github.com/pagespeed/ngx_pagespeed/issues/1029 )
Hopefully fixes https://github.com/pagespeed/ngx_pagespeed/issues/711
2015-12-01 18:55:02 +01:00
Jeff Kaufman
2468257e2d
Add ContentExperiment support
2015-11-20 16:39:02 -05:00
Jeff Kaufman
4628e1c0ea
Merge pull request #1035 from pagespeed/jefftk-script-var-testing
...
Support script variables in ShardDomain
2015-11-19 11:01:41 -08:00
Jeff Kaufman
ea82f0de19
Support script variables in ShardDomain
2015-11-02 10:08:00 -05:00
Jeff Kaufman
5f312820e5
Merge pull request #974 from pagespeed/jefftk-handler-restrictions
...
Add support for blocking access to our handlers.
2015-11-02 08:18:10 -05:00
Otto van der Schaaf
634b813071
IPRO+MPD: Make In-Place-Resource-Optimization with MapProxyDomain work
...
Fixes https://github.com/pagespeed/ngx_pagespeed/issues/1015
Pull with MPS Side for this change:
https://github.com/pagespeed/mod_pagespeed/pull/1161
2015-10-27 18:11:35 +01:00
Jeff Kaufman
fe47eeb4f3
Add support for blocking access to our handlers.
...
Nginx side of the fix for https://github.com/pagespeed/mod_pagespeed/issues/1088
2015-09-18 09:03:01 -04:00
Joshua Marantz
8bac32c669
ignore errors about slow file operations, which can occur when running valgrind tests
2015-07-31 16:57:20 -04:00
Jeffrey Crowell
52bd966edd
add test servers for sending x-sendfile and x-accel-redirect
2015-07-23 13:34:25 -04:00
Jeffrey Crowell
9ee745c2ef
Revert "temporarily comment tests using modpagespeed.com"
...
This reverts commit 5337e4b558 .
closes #984
2015-07-07 13:15:33 -04:00
Jeffrey Crowell
5337e4b558
temporarily comment tests using modpagespeed.com
...
revert this commit when modpagespeed.com is back up
2015-07-06 12:36:44 -04:00
Joshua Marantz
8464a00a77
nginx system test changes to repro issue https://github.com/pagespeed/mod_pagespeed/issues/1077
2015-05-18 09:46:12 -04:00