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(); }
public static void RunTheHost() { GridTaskBrokerTests t2 = new GridTaskBrokerTests(); t2.Host_Init_Test(); HostRunning.WaitOne(); }