OxL Reference

method node.restart

Boots the node again on its surviving disk.

Example:

oxl✓ checked in CI
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

NameType
namestr
afterDur = 0ms

Effects

none declared (pure unless the body says otherwise)

Defined in: std/test/test.oxl:243

See also