public static void Initialize(TestContext context) { originalHeartbeat = BlueCollarSection.Current.Heartbeat; originalRetryTimeout = BlueCollarSection.Current.RetryTimeout; BlueCollarSection.Current.Heartbeat = Heartbeat; BlueCollarSection.Current.RetryTimeout = RetryTimeout; jobStore = JobStore.Create(); jobStore.DeleteAllJobs(); jobRunner = new JobRunner(jobStore, Guid.NewGuid().ToString() + ".bin", false, Heartbeat, MaximumConcurrency, RetryTimeout, true, new JobScheduleElement[0]); jobRunner.Error += new EventHandler<JobErrorEventArgs>(JobRunnerError); jobRunner.Start(); }