title: Why does the MongoDB Java driver use a random number generator in a conditional?
body: <p>I saw the following code in <a href="https://github.com/mongodb/mongo-java-driver/blob/1d2e6faa80aeb5287a26d0348f18f4b51d566759/src/main/com/mongodb/ConnectionStatus.java#L213">this commit</a> for <a href="https://github.com/mongodb/mongo-java-driver">MongoDB's Java Connection driver</a>, and it appears at first to be a joke of some sort. What does the following code do?</p>
  
  <pre><code>if (!((_ok) ? true : (Math.random() &gt; 0.1))) {
      return res;
  }
  </code></pre>
  
  <p>(EDIT: the code <a href="https://github.com/mongodb/mongo-java-driver/commit/8e02cd006d79acd1d0ae6604c2ee7537b250c044#diff-08d4a794472cb22d6bf2c4bb0615aa49L212">has been updated since</a> posting this question)</p>