<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>27998</bug_id>
          
          <creation_ts>2009-08-04 14:37:44 -0700</creation_ts>
          <short_desc>http/tests/cache/subresource-expiration.html uses 4.5 seconds of delay</short_desc>
          <delta_ts>2010-04-08 02:00:59 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>27995</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>darin</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>137131</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-08-04 14:37:44 -0700</bug_when>
    <thetext>http/tests/cache/subresource-expiration.html uses 4.5 seconds of delay

These were added in:
http://trac.webkit.org/changeset/45003

Current runtime of this test is 6.25s on my machine.  That&apos;s about 1% of total LayoutTest runtime. :(

Is the delay really necessary?

    {
        testHeaders: {
            &apos;Cache-control&apos;: &apos;max-age=1&apos;,
        },
        delay: 1.5,
        expectedResult: &apos;Uncached&apos;,
    },
    {
        testHeaders: {
            &apos;Last-modified&apos;: &apos;[now-3600s]&apos;,
        },
        delay: 1.5,
        expectedResult: &apos;Cached&apos;,
    },
    {
        testHeaders: {
            &apos;Last-modified&apos;: &apos;[now-10s]&apos;,
        },
        delay: 1.5,
        expectedResult: &apos;Uncached&apos;,
    },</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>137222</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-08-04 18:25:57 -0700</bug_when>
    <thetext>Actually, this is the slowest test in Release mode :(

6.22 secs: http/tests/cache/subresource-expiration.html

See list https://bugs.webkit.org/attachment.cgi?id=34108 on bug 27995.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>139017</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-08-11 10:14:31 -0700</bug_when>
    <thetext>Yup, still the slowest test by over a second. :)

https://bugs.webkit.org/attachment.cgi?id=34573</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>207531</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-04-01 17:30:39 -0700</bug_when>
    <thetext>Just timed out on Snow Leopard:
http://build.webkit.org/results/SnowLeopard%20Intel%20Release%20(Tests)/r56952%20(7567)/results.html
That may not be related to this bug however.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>210091</commentid>
    <comment_count>4</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-04-08 02:00:59 -0700</bug_when>
    <thetext>Again: http://build.webkit.org/results/SnowLeopard%20Intel%20Release%20(Tests)/r57262%20(7898)/http/tests/cache/subresource-expiration-pretty-diff.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>