Modifications to enable Sync Pausing for all operations
[pithos-ms-client] / trunk / Pithos.Network.Test / NetworkOpsTest.cs
index 6330cdc..b4bf22f 100644 (file)
@@ -4,6 +4,7 @@ using System.Diagnostics;
 using System.Diagnostics.Contracts;
 using System.Linq;
 using System.Text;
+using System.Threading;
 using NUnit.Framework;
 using Pithos.Interfaces;
 using System.IO;
@@ -132,7 +133,7 @@ namespace Pithos.Network.Test
                 
 
                 string downloadFile = "test2.txt";
-                client.GetObject(null, "Shares", testFileName, downloadFile)
+                client.GetObject(null, "Shares", testFileName, downloadFile,CancellationToken.None)
                     .Wait();
 
                 Assert.IsTrue(File.Exists(downloadFile));