-
Type: Bug
-
Status: Resolved
-
Priority: Blocker
-
Resolution: Fixed
-
Affects Version/s: 3.1.0
-
Fix Version/s: 4.3.0
-
Component/s: Application update
-
Environment:Windows
-
Tags:
-
Sprint:nxDrive 11.1.19
-
Story Points:0
Issue
Auto-Upgrade - Use system timeout.exe instead of cygwin
Currently Drive uses the command timeout in the auto-updater to wait 5 seconds before restarting.
However this is ambiguous because timeout exists in the Windows\system32 and in the cygwin binaries. This causes timeout.exe to fail with the following in the logs :
timeout: invalid time interval ‘/t’ Try 'timeout --help' for more information.
Fix
Move to ping (ping waits 1 second between attempts):
ping 127.0.0.1 -n 6 > NUL
Tip from https://tickets.puppetlabs.com/browse/MODULES-3657.
- is related to
-
NXDRIVE-1143 New auto-update framework (**breaking change**)
- Resolved
-
NXP-27351 Fix timeout command in nuxeoctl.bat
- Resolved
- is required by
-
NXDRIVE-1710 Check the auto-updater before building a new version
- Resolved