1
0

suites.go 595 B

1234567891011121314
  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. }
  9. // AfterSuiteActions are actions that are run on ginkgo's SynchronizedAfterSuite
  10. func AfterSuiteActions() {
  11. // Run only Ginkgo on node 1
  12. }