Skip to content

Commit

Permalink
Merge pull request #607 from adrianchiris/reduce-timeout-in-controlle…
Browse files Browse the repository at this point in the history
…r-tests

Reduce timeout period in controller tests
  • Loading branch information
adrianchiris authored Feb 1, 2024
2 parents a3a5ba9 + b164b0e commit dd5fe96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion controllers/sriovnetworkpoolconfig_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ var _ = Describe("Operator", func() {
return err
}
return nil
}, util.APITimeout*3, util.RetryInterval).Should(Succeed())
}, util.APITimeout, util.RetryInterval).Should(Succeed())
})
})
})
4 changes: 2 additions & 2 deletions controllers/sriovoperatorconfig_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ var _ = Describe("Operator", func() {
return nil
}
return daemonSet.Spec.Template.Spec.NodeSelector
}, util.APITimeout*10, util.RetryInterval).Should(Equal(config.Spec.ConfigDaemonNodeSelector))
}, util.APITimeout, util.RetryInterval).Should(Equal(config.Spec.ConfigDaemonNodeSelector))
})

It("should be able to do multiple updates to the node selector of sriov-network-config-daemon", func() {
Expand All @@ -170,7 +170,7 @@ var _ = Describe("Operator", func() {
return nil
}
return daemonSet.Spec.Template.Spec.NodeSelector
}, util.APITimeout*10, util.RetryInterval).Should(Equal(config.Spec.ConfigDaemonNodeSelector))
}, util.APITimeout, util.RetryInterval).Should(Equal(config.Spec.ConfigDaemonNodeSelector))
})

})
Expand Down

0 comments on commit dd5fe96

Please sign in to comment.