Skip to content

Commit

Permalink
update the ior and skip arm (#673)
Browse files Browse the repository at this point in the history
* update the ior and skip arm

* update the ior

---------

Co-authored-by: Praneeth Bajjuri <[email protected]>
  • Loading branch information
pbajjuri20 and Praneeth Bajjuri authored Mar 13, 2024
1 parent 773008e commit 06d21de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/tests/ossm/ior_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,14 @@ func TestIOR(t *testing.T) {

DeployControlPlane(t)

t.NewSubTest("check IOR on by default v2.5").Run(func(t test.TestHelper) {
t.NewSubTest("check IOR off by default v2.5").Run(func(t test.TestHelper) {
if env.GetSMCPVersion().LessThan(version.SMCP_2_5) {
t.Skip("Skipping until 2.5")
} else {
if getIORSetting(t, meshNamespace, meshName) != "true" {
if getIORSetting(t, meshNamespace, meshName) != "false" {
t.Fatal("Expect to find IOR enabled by default in v2.5+, but it is currently disabled")
} else {
t.LogSuccess("Got the expected true for IOR setting")
t.LogSuccess("Got the expected false for IOR setting")
}
}
})
Expand Down

0 comments on commit 06d21de

Please sign in to comment.