DataSteam Test change
authorTarikul Sabbir <v-tasabb@microsoft.com>
Tue, 12 Mar 2019 22:19:17 +0000 (15:19 -0700)
committerTarikul Sabbir <v-tasabb@microsoft.com>
Tue, 12 Mar 2019 22:19:17 +0000 (15:19 -0700)
Commit migrated from https://github.com/dotnet/corefx/commit/01f138e1008381379861eaec6df8a5b457d1084e

src/libraries/System.Data.SqlClient/tests/ManualTests/SQL/DataStreamTest/DataStreamTest.cs

index e5eecfc..a20874f 100644 (file)
@@ -3,7 +3,6 @@
 // See the LICENSE file in the project root for more information.
 
 using System.Data.SqlTypes;
-using System.Diagnostics;
 using System.IO;
 using System.Runtime.InteropServices;
 using System.Text;
@@ -1755,13 +1754,6 @@ namespace System.Data.SqlClient.ManualTesting.Tests
 
        private static void TestXEventsStreaming(string connectionString)
         {   
-           while (!Debugger.IsAttached)
-           {
-               Console.WriteLine("Waiting for debugger to attach");               
-               Console.WriteLine( Process.GetCurrentProcess().Id); 
-               Thread.Sleep(2000);
-           }
-           Console.WriteLine("Debugger attached");
             string sessionName = "xeventStreamTest";
             SetupXevent(connectionString, sessionName);
             Task.Factory.StartNew(() =>