Skip to content

Commit

Permalink
[not for merge] debug test failure
Browse files Browse the repository at this point in the history
Signed-off-by: Periyasamy Palanisamy <pepalani@redhat.com>
  • Loading branch information
pperiyasamy committed Apr 3, 2024
1 parent 8a66229 commit 587ab3c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pkg/testsuites/standard_suites.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ var staticSuites = []ginkgo.TestSuite{
}
return strings.Contains(name, "[Suite:openshift/conformance/serial") || isStandardEarlyOrLateTest(name)
},
// The IPsec tests takes more than 40 mins.
TestTimeout: 60 * time.Minute,
// The IPsec tests takes more than 60 mins.
TestTimeout: 90 * time.Minute,
},
{
Name: "openshift/disruptive",
Expand Down
10 changes: 6 additions & 4 deletions test/extended/networking/ipsec.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,11 @@ spec:
right: %s
rightrsasigkey: '%%cert'
rightid: '%%fromcert'
rightsubnet: %[5]s/32
ike: aes_gcm256-sha2_256
esp: aes_gcm256
ikev2: insist
keyingtries: %%forever
auto: route
type: transport
`

Expand Down Expand Up @@ -643,7 +644,7 @@ var _ = g.Describe("[sig-network][Feature:IPsec]", g.Ordered, func() {
o.Expect(config.dstNodeConfig.nodeIP).NotTo(o.BeEmpty())
})

g.AfterEach(func() {
g.AfterAll(func() {
// Restore the cluster back into original state after running all the tests.
g.By("restoring ipsec config into original state")
err := configureIPsec(oc, config.ipsecConfig)
Expand Down Expand Up @@ -710,11 +711,12 @@ var _ = g.Describe("[sig-network][Feature:IPsec]", g.Ordered, func() {
g.By("deploy and configure nmstate operator")
err := deployNMstate(oc)
o.Expect(err).NotTo(o.HaveOccurred())
defer func() {
// DEBUG only
/*defer func() {
g.By("undeploying nmstate operator")
err = undeployNMState(oc)
o.Expect(err).NotTo(o.HaveOccurred())
}()
}()*/

g.By("validate pod traffic before changing IPsec configuration")
// Ensure pod traffic is working before rolling out IPsec configuration.
Expand Down

0 comments on commit 587ab3c

Please sign in to comment.