The following test:

        // 20081211 this test fails on purpose, fix in model engine.
        [Test]
        [Category("Integration")]
        [Ignore("test crashes test server.")]
        public void ImportVanCouverNetworkAndRunCalcGridAtFixedInterval()
        {
            ImportVanCouverNetworkAndRun(true);
        }

must be written as

        [Test]
        [Category("Integration")]
        public void ImportVanCouverNetworkAndRunCalcGridAtFixedInterval()
        {
            Assert.Fail("test crashes test server, update model dll to a stable one and remove this line.");
            ImportVanCouverNetworkAndRun(true);
        }

Then test will always fail on the build server.

  • No labels