method node.restart
Boots the node again on its surviving disk.
Example:
use std.test { node }
test "a node restarts" {
node.kill("n1")
node.restart("n1")
assert node.isUp("n1")
}pub(api) static fn restart(name: str, after: Dur = 0ms)Since. 1.0.0-beta
Parameters
| Name | Type |
|---|---|
name | str |
after | Dur = 0ms |
Effects
none declared (pure unless the body says otherwise)
Defined in: std/test/test.oxl:243