@@ -0,0 +1,413 @@
+package com.cloudera.disttest;%0A%0Aimport java.io.BufferedReader;%0Aimport java.io.InputStream;%0Aimport java.io.InputStreamReader;%0Aimport java.util.Random;%0A%0Aimport org.junit.Test;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Apublic class TestFailSometimes %7B%0A%0A  @Test%0A  public void failSometimes() throws Exception %7B%0A    Random r = new Random();%0A    if (r.nextFloat() %3E 0.5) %7B%0A      throw new Exception();%0A    %7D%0A  %7D%0A%7D%0A

Add a test which fails probabilistically, to test retry-on-failure