Fix/performancetests (#144)

* some bug fixes and improvements for perf tests. If the test name file cannot be found just use the settings.json
This commit is contained in:
Leila Lali
2016-11-14 10:10:23 -08:00
committed by GitHub
8 changed files with 152 additions and 61 deletions

View File

@@ -87,7 +87,7 @@ namespace Microsoft.SqlTools.ServiceLayer.TestDriver
using (var typeInstance = (IDisposable)Activator.CreateInstance(type))
{
Console.WriteLine("Running test " + testName);
await (Task)methodInfo.Invoke(typeInstance, null);
await (Task)methodInfo.Invoke(typeInstance, new object[] { testName });
Console.WriteLine("Test ran successfully: " + testName);
}
}