Documentation
¶
Overview ¶
Package two_node contains end-to-end tests for two-node (DualReplica) OpenShift clusters.
Tests in this package verify etcd recovery, node replacement, and cluster behavior when running with only two control-plane nodes plus an arbiter for quorum.
Precondition Validation: Tests use the preconditions package (pkg/test/preconditions) to check cluster health before running. When precondition checking is invoked, a synthetic JUnit test called "[openshift-tests] cluster precondition validation" is generated:
- PASSES if all tests ran successfully (no precondition failures)
- FAILS if any tests were skipped due to unmet cluster preconditions
This provides the Technical Release Team (TRT) with a consistent test name that has meaningful pass/fail rates. See pkg/test/preconditions/preconditions.go for details.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VMShutdownMode ¶
type VMShutdownMode int
const ( VMShutdownModeGraceful VMShutdownMode = iota + 1 VMShutdownModeUngraceful )
func (VMShutdownMode) String ¶
func (sm VMShutdownMode) String() string
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package utils provides common cluster utilities: topology validation, CLI management, node filtering, and operator health checks.
|
Package utils provides common cluster utilities: topology validation, CLI management, node filtering, and operator health checks. |
|
apis
Package apis provides BareMetalHost utilities: status checks, provisioning state monitoring, and Metal3 operations.
|
Package apis provides BareMetalHost utilities: status checks, provisioning state monitoring, and Metal3 operations. |
|
core
Package core provides file utilities: permission constants, temp file creation, and template processing.
|
Package core provides file utilities: permission constants, temp file creation, and template processing. |
|
services
Package services provides etcd utilities: error classification, retry detection, and learner state handling.
|
Package services provides etcd utilities: error classification, retry detection, and learner state handling. |