TEMPORARY: poll_oneoff test uses CLOCKID_REALTIME instead of MONOTONIC
the scheduler does not support the monotonic clock yet, i will fix this soon
This commit is contained in:
@@ -28,7 +28,7 @@ unsafe fn test_empty_poll() {
|
||||
|
||||
unsafe fn test_timeout() {
|
||||
let clock = wasi::SubscriptionClock {
|
||||
id: wasi::CLOCKID_MONOTONIC,
|
||||
id: wasi::CLOCKID_REALTIME,
|
||||
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_MONOTONIC,
|
||||
id: wasi::CLOCKID_REALTIME,
|
||||
timeout: 5_000_000u64, // 5 milliseconds
|
||||
precision: 0,
|
||||
flags: 0,
|
||||
|
||||
Reference in New Issue
Block a user