<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
    <dl style="line-height: 1.5; margin-left: 2em">
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
      <dd style="margin-left: 8.5em">YUKI Hiroshi &lt;shimo****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2015-04-21 10:05:46 +0900 (Tue, 21 Apr 2015)</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
      <dd style="margin-left: 8.5em"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99">1388c90c076be57a1cedfd173c402f2cc259ab99</a></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
      <dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Simplify: remove needless response packet</pre></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
      <dd style="margin-left: 8.5em">
        <ul>
          <li><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#diff-0">test/droonga-protocol/connection.test.js</a></li>
        </ul>
      </dd>
    </dl>

    <div class="diff-section" style="clear: both">
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: test/droonga-protocol/connection.test.js (+1 -4)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0L401">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0L402">402</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0L403">403</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0L404">404</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0L405">405</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0L406">406</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0L407">407</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0L408">408</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0L414">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0L415">415</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0L416">416</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0L417">417</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0L418">418</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0L419">419</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0L420">420</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0L421">421</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0L422">422</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0L423">423</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0R401">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0R402">402</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0R403">403</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0R404">404</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0R405">405</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0R406">406</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0R407">407</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0R413">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0R414">414</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0R415">415</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0R416">416</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0R417">417</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0R418">418</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0R419">419</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/express-droonga/commit/1388c90c076be57a1cedfd173c402f2cc259ab99#L0R420">420</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -402,7 +402,6 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">suite('Connection', function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">                                                Math.random(),</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                                                callback,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                                                { timeout: 20 });</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-          var response = utils.createReplyEnvelope(message, 'ignored', Math.random());</span>
<span class="diff-not-changed" style="display: block; white-space: pre">           callback.takes(Connection.ERROR_GATEWAY_TIMEOUT, null);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">           utils.wait(0.01)</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -415,9 +414,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">suite('Connection', function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">                 'response listeners should be registered'</span>
<span class="diff-not-changed" style="display: block; white-space: pre">               );</span>
<span class="diff-not-changed" style="display: block; white-space: pre">             })</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-            .then(utils.waitCb(0.02))</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-            .then(utils.sendPacketToCb(utils.createPacket(response), utils.testReceivePort))</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-            .then(utils.waitCb(0.01))</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+            .then(utils.waitCb(0.03))</span>
<span class="diff-not-changed" style="display: block; white-space: pre">             .then(function() {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">               assert.equal(</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                 connection.listeners('reply:' + message.id).length,</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>