Example #1
0
 public static void setUpCrateCluster()
 {
     if (CLUSTER == null)
     {
         CLUSTER = new CrateCluster("crate-testing", "0.52.4");
         CLUSTER.Start();
     }
 }
Example #2
0
 public static void tearDownCrateCluster()
 {
     if (CLUSTER != null)
     {
         CLUSTER.Stop();
         CLUSTER = null;
     }
 }
Example #3
0
        public static void SetUpCrateCluster()
        {
            if (_cluster != null)
            {
                return;
            }

            _cluster = new CrateCluster("crate-testing", "1.0.2");
            _cluster.Start();

            // sleep for 10 seconds, wait until cluster starts
            Thread.Sleep(10000);
        }