tests: Add logs for the test-cleanup processing
On test failure, especially at the teardown step, it is useful to
identify when the generic cleanup occurred. The information can assist
debugging tests results.
@@ -128,11 +128,13 @@ const MigrationWaitTime = 240
const ContainerCompletionWaitTime = 60
func TestCleanup() {
+ GinkgoWriter.Println("Global test cleanup started.")
testsuite.CleanNamespaces()
libnode.CleanNodes()
resetToDefaultConfig()
testsuite.EnsureKubevirtInfra()
SetupAlpineHostPath()
+ GinkgoWriter.Println("Global test cleanup ended.")
}
func SetupAlpineHostPath() {
