Exemplo n.º 1
0
        public void JobManagerShouldCreateJobConfWithJobDirectorySet()
        {
            string            name    = MethodBase.GetCurrentMethod().Name;
            JobManagerService foreman = GetTestJobConductor(name);
            JobConf           conf    = foreman.CreateJobConf(name);

            Expect.AreEqual(name, conf.Name);
            Expect.IsTrue(conf.JobDirectory.StartsWith(foreman.JobsDirectory), "conf directory wasn't set correctly");
        }