@@ -0,0 +1,552 @@
+package water;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.BeforeClass;%0Aimport org.junit.Test;%0Aimport water.util.JProfile;%0A%0Apublic class ProfilerTest extends TestUtil %7B%0A%0A  @BeforeClass public static void stall() %7B stall_till_cloudsize(3); %7D%0A%0A  @Test public void testProfiler() %7B%0A    for( int i=0; i%3C10; i++ ) %7B%0A      JProfile jp = new JProfile(5);%0A      jp.execImpl();%0A      Assert.assertEquals(jp.nodes.length,H2O.CLOUD.size());%0A      for (int j=0; j%3CH2O.CLOUD.size(); ++j) %7B%0A        Assert.assertTrue(jp.nodes%5Bj%5D.profile != null);%0A      %7D%0A    %7D%0A  %7D%0A%7D%0A

Add JUnit test for Profiler.