示例#1
0
        static void Main(string[] args)
        {
            GridTaskBrokerTests test = new GridTaskBrokerTests();
            test.FixtureSetUp();

            // Start the host on a separate thread
            Thread t = new Thread(RunTheHost) { Name = "HostThread" };
            t.Start();

            test.Client_ExecuteTask_Test();

            HostRunning.Set();
            test.FixtureTearDown();
        }
示例#2
0
 public static void RunTheHost()
 {
     GridTaskBrokerTests t2 = new GridTaskBrokerTests();
     t2.Host_Init_Test();
     HostRunning.WaitOne();
 }