Adjust timing on tests.

This commit is contained in:
2017-07-06 07:19:08 +02:00
parent 41c98f1e7c
commit 60a54a63b2
4 changed files with 17 additions and 7 deletions

View File

@@ -6,7 +6,8 @@ IF EXIST %testDir%.A rmdir %testDir%.A /S /Q
IF EXIST %testDir%.B rmdir %testDir%.B /S /Q
IF EXIST %testDir%.txt del %testDir%.txt
echo:Start> %testDir%.txt
echo:Test %testName% started> %testDir%.txt
echo:Test %testName% started
IF NOT EXIST tmp md tmp
md %testDir%.A
md %testDir%.B
@@ -20,7 +21,7 @@ echo:Dos> %testDir%.A\Dos.txt
del %testDir%.A\Uno.txt
..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.txt
ping 127.0.0.1 -n 6 > nul
ping 127.0.0.1 -n 2 > nul
echo:UnoRepuesto> %testDir%.A\Uno.txt
..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.txt

View File

@@ -6,7 +6,8 @@ IF EXIST %testDir%.A rmdir %testDir%.A /S /Q
IF EXIST %testDir%.B rmdir %testDir%.B /S /Q
IF EXIST %testDir%.txt del %testDir%.txt
echo:Start> %testDir%.txt
echo:Test %testName% started> %testDir%.txt
echo:Test %testName% started
IF NOT EXIST tmp md tmp
md %testDir%.A
md %testDir%.B

View File

@@ -6,7 +6,8 @@ IF EXIST %testDir%.A rmdir %testDir%.A /S /Q
IF EXIST %testDir%.B rmdir %testDir%.B /S /Q
IF EXIST %testDir%.txt del %testDir%.txt
echo:Start> %testDir%.txt
echo:Test %testName% started> %testDir%.txt
echo:Test %testName% started
IF NOT EXIST tmp md tmp
md %testDir%.A
md %testDir%.B
@@ -17,11 +18,17 @@ echo:Uno> %testDir%.A\Uno.txt
echo:Dos> %testDir%.A\Dos.txt
..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.txt
..\filesync.exe read %testDir%.A/nodesFile.fs >> %testDir%.txt
..\filesync.exe read %testDir%.B/nodesFile.fs >> %testDir%.txt
md %testDir%.A\dirUno
move %testDir%.A\Uno.txt %testDir%.A\dirUno\Uno.txt >NUL
..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.txt
ping 127.0.0.1 -n 6 > nul
..\filesync.exe read %testDir%.A/nodesFile.fs >> %testDir%.txt
..\filesync.exe read %testDir%.B/nodesFile.fs >> %testDir%.txt
ping 127.0.0.1 -n 2 > nul
move %testDir%.A\dirUno\Uno.txt %testDir%.A\Uno.txt >NUL
rd %testDir%.A\dirUno

View File

@@ -6,7 +6,8 @@ IF EXIST %testDir%.A rmdir %testDir%.A /S /Q
IF EXIST %testDir%.B rmdir %testDir%.B /S /Q
IF EXIST %testDir%.txt del %testDir%.txt
echo:Start> %testDir%.txt
echo:Test %testName% started> %testDir%.txt
echo:Test %testName% started
IF NOT EXIST tmp md tmp
md %testDir%.A
md %testDir%.B
@@ -17,7 +18,7 @@ echo:Uno> %testDir%.A\Uno.txt
echo:Dos> %testDir%.A\Dos.txt
..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.txt
ping 127.0.0.1 -n 6 > nul
ping 127.0.0.1 -n 2 > nul
echo:Updated>> %testDir%.A\Uno.txt
..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.txt