Example #1
0
        public void AddWorkerShouldSetWorkerName()
        {
            string            name       = MethodBase.GetCurrentMethod().Name;
            JobManagerService jc         = GetTestJobConductor(name);
            string            workerName = "worker_" + name;
            string            jobName    = "Job_" + name;

            jc.AddWorker(jobName, typeof(TestWorker).AssemblyQualifiedName, workerName);
            Expect.IsTrue(jc.WorkerExists(jobName, workerName));
        }