Browse Source

Remove unused NAnt NUnit custom tasks and extend timeout for StartReplay

Antoine Blanchet 11 years ago
parent
commit
7e6dff69e2

+ 2 - 2
build/Zebus.build

@@ -73,7 +73,7 @@
 				<echo message="Compiling ${vsnet.project}" />
 				<exec program="${msbuild.exe}"
 				  verbose="true"
-				  commandline='"${vsnet.project}" /t:Build /p:Configuration=debug;Platform="${project.platform}";OutputPath="${build.dir.tests}";SolutionDir="${solution.dir}" /v:q'/>
+				  commandline='"${vsnet.project}" /t:rebuild /p:Configuration=debug;Platform="${project.platform}";OutputPath="${build.dir.tests}";SolutionDir="${solution.dir}" /v:q'/>
 			</do>
 		</foreach>
 	</target>
@@ -89,7 +89,7 @@
 				<echo message="Compiling ${vsnet.project}" />
 				<exec program="${msbuild.exe}"
 					  verbose="true"
-					  commandline='"${vsnet.project}" /t:Build /p:Configuration=${project.config};Platform="${project.platform}";OutputPath="${build.dir}";SolutionDir="${solution.dir}" /v:q' />
+					  commandline='"${vsnet.project}" /t:rebuild /p:Configuration=${project.config};Platform="${project.platform}";OutputPath="${build.dir}";SolutionDir="${solution.dir}" /v:q' />
 			</do>
 		</foreach>
 	</target>

+ 1 - 1
src/Abc.Zebus.Tests/Persistence/PersistentTransportFixture.cs

@@ -44,7 +44,7 @@ namespace Abc.Zebus.Tests.Persistence
 
             var configuration = new Mock<IBusConfiguration>();
             configuration.Setup(x => x.IsPersistent).Returns(IsPersistent);
-            configuration.Setup(x => x.StartReplayTimeout).Returns(TimeSpan.FromSeconds(60));
+            configuration.Setup(x => x.StartReplayTimeout).Returns(TimeSpan.FromMinutes(60));
 
             PeerDirectory = new Mock<IPeerDirectory>();
             PeerDirectory.Setup(dir => dir.GetPeersHandlingMessage(It.IsAny<StartMessageReplayCommand>())).Returns(new[] { PersistencePeer });

BIN
tools/nant/NAnt.NUnit.dll


BIN
tools/nant/NAnt.NUnit1Tasks.dll


BIN
tools/nant/NAnt.NUnit2Tasks.dll