private async Task VerifyScriptTable(TestServerType serverType, [CallerMemberName] string testName = "") { await TestServiceDriverProvider.RunTestIterations(async (timer) => { using (TestServiceDriverProvider testService = new TestServiceDriverProvider()) using (SelfCleaningTempFile queryTempFile = new SelfCleaningTempFile()) { await testService.ConnectForQuery(serverType, string.Empty, queryTempFile.FilePath, Common.PerfTestDatabaseName); List <ScriptingObject> scriptingObjects = new List <ScriptingObject>() { new ScriptingObject { Schema = "Person", Name = "Address", Type = "Table" } }; ScriptingParams scriptingParams = new ScriptingParams { OwnerUri = queryTempFile.FilePath, Operation = ScriptingOperationType.Create, FilePath = queryTempFile.FilePath, ScriptOptions = new ScriptOptions { ScriptCreateDrop = "ScriptCreate", }, ScriptDestination = "ToEditor", ScriptingObjects = scriptingObjects }; var result = await testService.CalculateRunTime(() => testService.RequestScript(scriptingParams), timer); Assert.NotNull(result); Assert.NotNull(result.Script); Assert.False(string.IsNullOrEmpty(result.Script), "Script result is invalid"); await testService.Disconnect(queryTempFile.FilePath); } }, testName); }