Files
kubernetes/test/e2e/framework
Patrick Ohly cbf94307ef e2e framework: clean up instance after all other code ran
In contrast to ginkgo.AfterEach, ginkgo.DeferCleanup runs the callback in
first-in-last-out order. Using it makes the following test code work as
expected:

    f := framework.NewDefaultFramework("some test")

    ginkgo.AfterEach(func() {
        // do something with f.ClientSet
    })

Previously, f.ClientSet was already set to nil by the framework's cleanup code.
2022-09-08 22:50:01 +02:00
..
2022-07-26 13:14:05 -04:00
2021-02-28 15:17:29 -08:00
2021-02-28 15:17:29 -08:00
2022-07-26 13:14:05 -04:00
2021-03-08 20:08:21 +00:00
2021-02-28 15:17:29 -08:00
2022-08-02 20:52:04 +02:00
2021-02-28 15:17:29 -08:00
2022-07-26 13:14:05 -04:00
2022-03-09 10:39:34 +08:00
2021-02-28 15:17:29 -08:00
2021-02-28 15:17:29 -08:00
2022-07-26 13:14:05 -04:00
2022-01-10 08:14:29 -05:00