suites.go 613 B

12345678910111213141516
  1. package e2e
  2. // CleanupSuite is the boilerplate that can be used after tests on ginkgo were run, on the SynchronizedAfterSuite step.
  3. // Similar to SynchronizedBeforeSuite, we want to run some operations only once (such as collecting cluster logs).
  4. // Here, the order of functions is reversed; first, the function which runs everywhere,
  5. // and then the function that only runs on the first Ginkgo node.
  6. func CleanupSuite() {
  7. // Run on all Ginkgo nodes
  8. // TODO
  9. }
  10. // AfterSuiteActions are actions that are run on ginkgo's SynchronizedAfterSuite
  11. func AfterSuiteActions() {
  12. // Run only Ginkgo on node 1
  13. // TODO
  14. }