Skip to content

Commit

Permalink
skip etcd test for hardware speed on sno
Browse files Browse the repository at this point in the history
the following test is for peer communication for etcd, this is not valid for single node and can cause disruption increases.

Signed-off-by: ehila <ehila@redhat.com>
  • Loading branch information
eggfoobar committed May 14, 2024
1 parent 5f629ff commit 27208b9
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 27208b9

Please sign in to comment.