<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>I was writing a test suite for my java client that talked to an actual memcached and found that I couldn't figure out exactly what flush_all with a delay is supposed to do.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>My test for delete works something like this:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>validate object isn't there</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>set object</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>validate object is there with my value</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>delete(5)</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>validate object isn't there</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>validate add does not set object</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>validate update does not set object</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>validate set works fine</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>I tried the same thing for flush_all, and the assertions following the delayed flush don't seem to make much sense.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>I was running my tests against memcached 1.2.1 in case it makes a difference.</DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>-- </DIV><DIV>Dustin Sallings</DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>