Beispiel #1
0
        public void TestDriverCompleted()
        {
            // NoopTask can be replaced with any other class never used in FailDriver
            LauncherStatus status = FailDriverClient.RunClient(typeof(NoopTask),
                                                               LocalRuntimeConfiguration.ConfigurationModule.Build(), JobTimeout);

            Assert.Equal(LauncherStatus.CompletedStatus, status);
        }
Beispiel #2
0
        private static void FailOn(Type type)
        {
            var launchStatus = FailDriverClient.RunClient(type, LocalRuntimeConfiguration.ConfigurationModule.Build(), JobTimeout);

            TestUtils.AssertLauncherFailure(launchStatus, typeof(SimulatedDriverFailure));
        }