Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,8 @@ docs/workflows/

# mkdocs site output
/site/

# tool artifacts
.codex_write_check
.tool-versions
.codex
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
"fake-hardware": "fake",
}

# When performing a "clean" or "provide" operation, how long do we wait for
# Ironic to move the node its final state:
NODE_STATE_TIMEOUT_SECS = 90 * 60


@dataclass
class NodeInterface:
Expand Down Expand Up @@ -200,7 +204,9 @@ def transition(
node.uuid,
expected_state,
)
client.wait_for_node_provision_state(node.uuid, expected_state, timeout=1800)
client.wait_for_node_provision_state(
node.uuid, expected_state, timeout=NODE_STATE_TIMEOUT_SECS
)


def patch(node: Node, updates: Sequence[str]) -> None:
Expand Down
Loading