Re: Review Request 60325: Windows: Replaced `ping` with `Start-Sleep`.

2017-07-10 Thread Joseph Wu

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/60325/#review180075
---


Ship it!





3rdparty/stout/include/stout/gtest.hpp
Line 229 (original), 229 (patched)


`Start-Sleep` defaults to seconds, but to be absolutely clear, we can add 
`-Seconds` before `#x`.


- Joseph Wu


On June 21, 2017, 3:09 p.m., Andrew Schwartzmeyer wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/60325/
> ---
> 
> (Updated June 21, 2017, 3:09 p.m.)
> 
> 
> Review request for mesos, Alexander Rukletsov, Jeff Coffler, John Kordich, 
> Joseph Wu, Li Li, and Michael Park.
> 
> 
> Bugs: MESOS-4467
> https://issues.apache.org/jira/browse/MESOS-4467
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> This `SLEEP_COMMAND` macro represents a command that should sleep. On
> POSIX systems, a `sleep` binary is available, but on Windows, `sleep` is
> a `cmd.exe` feature that requires a TTY. Previously, this was replaced
> with `ping` as it approximates sleep, except that it produces noisy
> output. We replace it with the `Start-Sleep` PowerShell command, which
> does not require a TTY, and is always available.
> 
> 
> Diffs
> -
> 
>   3rdparty/stout/include/stout/gtest.hpp 
> a004a378cb467495234d77a0c56fbea6e7bec420 
> 
> 
> Diff: https://reviews.apache.org/r/60325/diff/1/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Andrew Schwartzmeyer
> 
>



Review Request 60325: Windows: Replaced `ping` with `Start-Sleep`.

2017-06-21 Thread Andrew Schwartzmeyer

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/60325/
---

Review request for mesos, Alexander Rukletsov, Jeff Coffler, John Kordich, 
Joseph Wu, Li Li, and Michael Park.


Bugs: MESOS-4467
https://issues.apache.org/jira/browse/MESOS-4467


Repository: mesos


Description
---

This `SLEEP_COMMAND` macro represents a command that should sleep. On
POSIX systems, a `sleep` binary is available, but on Windows, `sleep` is
a `cmd.exe` feature that requires a TTY. Previously, this was replaced
with `ping` as it approximates sleep, except that it produces noisy
output. We replace it with the `Start-Sleep` PowerShell command, which
does not require a TTY, and is always available.


Diffs
-

  3rdparty/stout/include/stout/gtest.hpp 
a004a378cb467495234d77a0c56fbea6e7bec420 


Diff: https://reviews.apache.org/r/60325/diff/1/


Testing
---


Thanks,

Andrew Schwartzmeyer