Adjust timing on tests.
This commit is contained in:
@@ -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%.B rmdir %testDir%.B /S /Q
|
||||||
IF EXIST %testDir%.txt del %testDir%.txt
|
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
|
IF NOT EXIST tmp md tmp
|
||||||
md %testDir%.A
|
md %testDir%.A
|
||||||
md %testDir%.B
|
md %testDir%.B
|
||||||
@@ -20,7 +21,7 @@ echo:Dos> %testDir%.A\Dos.txt
|
|||||||
del %testDir%.A\Uno.txt
|
del %testDir%.A\Uno.txt
|
||||||
..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.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
|
echo:UnoRepuesto> %testDir%.A\Uno.txt
|
||||||
..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.txt
|
..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.txt
|
||||||
|
|||||||
@@ -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%.B rmdir %testDir%.B /S /Q
|
||||||
IF EXIST %testDir%.txt del %testDir%.txt
|
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
|
IF NOT EXIST tmp md tmp
|
||||||
md %testDir%.A
|
md %testDir%.A
|
||||||
md %testDir%.B
|
md %testDir%.B
|
||||||
|
|||||||
@@ -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%.B rmdir %testDir%.B /S /Q
|
||||||
IF EXIST %testDir%.txt del %testDir%.txt
|
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
|
IF NOT EXIST tmp md tmp
|
||||||
md %testDir%.A
|
md %testDir%.A
|
||||||
md %testDir%.B
|
md %testDir%.B
|
||||||
@@ -17,11 +18,17 @@ echo:Uno> %testDir%.A\Uno.txt
|
|||||||
echo:Dos> %testDir%.A\Dos.txt
|
echo:Dos> %testDir%.A\Dos.txt
|
||||||
..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.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
|
md %testDir%.A\dirUno
|
||||||
move %testDir%.A\Uno.txt %testDir%.A\dirUno\Uno.txt >NUL
|
move %testDir%.A\Uno.txt %testDir%.A\dirUno\Uno.txt >NUL
|
||||||
..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.txt
|
..\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
|
move %testDir%.A\dirUno\Uno.txt %testDir%.A\Uno.txt >NUL
|
||||||
rd %testDir%.A\dirUno
|
rd %testDir%.A\dirUno
|
||||||
|
|||||||
@@ -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%.B rmdir %testDir%.B /S /Q
|
||||||
IF EXIST %testDir%.txt del %testDir%.txt
|
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
|
IF NOT EXIST tmp md tmp
|
||||||
md %testDir%.A
|
md %testDir%.A
|
||||||
md %testDir%.B
|
md %testDir%.B
|
||||||
@@ -17,7 +18,7 @@ echo:Uno> %testDir%.A\Uno.txt
|
|||||||
echo:Dos> %testDir%.A\Dos.txt
|
echo:Dos> %testDir%.A\Dos.txt
|
||||||
..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.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
|
echo:Updated>> %testDir%.A\Uno.txt
|
||||||
..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.txt
|
..\filesync.exe sync %testDir%.A %testDir%.B >> %testDir%.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user