예제 #1
0
 protected void StartMigration()
 {
     Trace.TraceInformation("==================== MigrationApp BEGIN ====================");
     Trace.TraceInformation("Start Time: " + DateTime.Now.ToString());
     MigrationApp.Start(ConfigurationFileName);
     Trace.TraceInformation("End Time: " + DateTime.Now.ToString());
     Trace.TraceInformation("==================== MigrationApp END   ====================");
 }
예제 #2
0
        protected virtual void RunAndNoValidate(bool useExistingConfiguration)
        {
            if (!useExistingConfiguration || Configuration == null)
            {
                BuildFilterStringPair();

                // Generate a new configuration file
                Configuration = ConfigurationCreator.CreateConfiguration(TestConstants.ConfigurationTemplate.SingleWITSession, TestEnvironment);
                ConfigurationCreator.CreateConfigurationFile(Configuration, ConfigurationFileName);
            }

            MigrationApp.Start(ConfigurationFileName);
        }
예제 #3
0
        protected virtual void RunAndNoValidate(bool useExistingConfiguration)
        {
            if (!useExistingConfiguration || Configuration == null)
            {
                BuildFilterStringPair();

                // Generate a new configuration file
                Configuration = ConfigurationCreator.CreateConfiguration(TestConstants.ConfigurationTemplate.SingleWITSession, TestEnvironment);
                ConfigurationCreator.CreateConfigurationFile(Configuration, ConfigurationFileName);
            }

            Trace.TraceInformation("Sleeping 5 seconds before starting migration");
            System.Threading.Thread.Sleep(5 * 1000);

            MigrationApp.Start(ConfigurationFileName);
        }