Revert "TEMPORARY: poll_oneoff test uses CLOCKID_REALTIME instead of MONOTONIC"

This reverts commit f667263d9c.
This commit is contained in:
Pat Hickey
2021-01-19 14:57:10 -08:00
parent 657024bd0d
commit 21713d3468

View File

@@ -28,7 +28,7 @@ unsafe fn test_empty_poll() {
unsafe fn test_timeout() {
let clock = wasi::SubscriptionClock {
id: wasi::CLOCKID_REALTIME,
id: wasi::CLOCKID_MONOTONIC,
timeout: 5_000_000u64, // 5 milliseconds
precision: 0,
flags: 0,
@@ -61,7 +61,7 @@ unsafe fn test_timeout() {
unsafe fn test_stdin_read() {
let clock = wasi::SubscriptionClock {
id: wasi::CLOCKID_REALTIME,
id: wasi::CLOCKID_MONOTONIC,
timeout: 5_000_000u64, // 5 milliseconds
precision: 0,
flags: 0,