This repository was archived by the owner on Apr 10, 2025. It is now read-only.
Commit 62d24fb
committed
Only rewrite an image once even if it's requested via ipro many times
concurrently.
Print elapsed time properly for subshell tests. Fix typo in SVG
reference which was causing spurious timeout warnings in nginx tests,
and then flagged by nginx system tests.
Remove nginx test flakiness by using fetch_until an image gets small
to indicate an ipro-rewrite is done, rather than testing for
image_ongoing_rewrites to be zero. The old technique might fail because
we might check that stat before the image starts being rewritten.
Note: with this change, nginx system tests no longer flake for me,
whereas previously about 10% of the time it would flake on "IPRO flow
uses cache as expected". That was also suppressed for valgrind runs,
which is no longer needed.
Even after this change, nginx system tests with valgrind tests still flake
with "Fetch timed out" log messages, which I am adding to the
suppressions, and with "Embed image configuration in rewritten image
URL.", where the recursive-wget result is not optimized. I think that
might be a real user-facing bug, and I will report it to the nginx list.1 parent 83c9607 commit 62d24fb
File tree
4 files changed
+29
-11
lines changed- install/mod_pagespeed_test/webp_rewriting
- net/instaweb/rewriter
- pagespeed
- automatic
- system
4 files changed
+29
-11
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1708 | 1708 | | |
1709 | 1709 | | |
1710 | 1710 | | |
1711 | | - | |
| 1711 | + | |
1712 | 1712 | | |
1713 | 1713 | | |
1714 | 1714 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
| 241 | + | |
241 | 242 | | |
242 | 243 | | |
243 | 244 | | |
| |||
541 | 542 | | |
542 | 543 | | |
543 | 544 | | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
544 | 549 | | |
545 | 550 | | |
546 | 551 | | |
547 | 552 | | |
548 | 553 | | |
549 | 554 | | |
550 | 555 | | |
| 556 | + | |
551 | 557 | | |
552 | 558 | | |
553 | 559 | | |
554 | 560 | | |
555 | 561 | | |
556 | 562 | | |
557 | | - | |
| 563 | + | |
558 | 564 | | |
559 | 565 | | |
560 | 566 | | |
561 | 567 | | |
562 | 568 | | |
563 | 569 | | |
564 | 570 | | |
565 | | - | |
| 571 | + | |
566 | 572 | | |
567 | 573 | | |
568 | 574 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
530 | 543 | | |
531 | 544 | | |
532 | 545 | | |
| |||
1108 | 1121 | | |
1109 | 1122 | | |
1110 | 1123 | | |
1111 | | - | |
1112 | | - | |
1113 | | - | |
1114 | | - | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
1115 | 1127 | | |
1116 | 1128 | | |
1117 | 1129 | | |
1118 | | - | |
1119 | | - | |
| 1130 | + | |
| 1131 | + | |
1120 | 1132 | | |
1121 | 1133 | | |
1122 | 1134 | | |
| |||
0 commit comments