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 ===================="); }
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); }
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); }