Skip to content

Commit

Permalink
Merge pull request #28800 from eggfoobar/skip-sno-etcd-hardware-speed
Browse files Browse the repository at this point in the history
OCPEDGE-1101: skip etcd test for hardware speed on sno
  • Loading branch information
openshift-merge-bot[bot] committed May 16, 2024
2 parents 6c5f551 + 27208b9 commit f6d5b11
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/extended/etcd/hardware_speed.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ var _ = g.Describe("[sig-etcd][OCPFeatureGate:HardwareSpeed][Serial] etcd", func
oc := exutil.NewCLIWithoutNamespace("etcd-hardware-speed").AsAdmin()

g.BeforeEach(func() {
isSingleNode, err := exutil.IsSingleNode(context.Background(), oc.AdminConfigClient())
o.Expect(err).NotTo(o.HaveOccurred())
if isSingleNode {
g.Skip("the test is for etcd peer communication which is not valid for single node")
}
//TODO remove this check once https://github.com/openshift/api/pull/1844 has merged
if !exutil.IsTechPreviewNoUpgrade(oc) {
g.Skip("the test is not expected to work within Tech Preview disabled clusters")
Expand Down

0 comments on commit f6d5b11

Please sign in to comment.