mirror of
https://github.com/fuse-friends/fuse-native
synced 2026-03-02 03:40:15 +00:00
support auto timeouts
This commit is contained in:
@@ -93,6 +93,7 @@ tape.skip('read timeout does not force unmount', function (t) {
|
||||
} else if (path === '/timeout') {
|
||||
console.log('read is gonna time out')
|
||||
// Just let this one timeout
|
||||
setTimeout(cb, 20 * 1000, -2)
|
||||
return
|
||||
}
|
||||
return cb(-2)
|
||||
|
||||
Reference in New Issue
Block a user