Fix density test

This commit is contained in:
wojtekt 2018-11-14 10:17:40 +01:00
parent 79dab474c0
commit 68bae382b1

View File

@ -728,6 +728,8 @@ var _ = SIGDescribe("Density", func() {
})
}
e2eStartupTime = runDensityTest(dConfig, testPhaseDurations, &scheduleThroughputs)
defer cleanupDensityTest(dConfig, testPhaseDurations)
if itArg.runLatencyTest {
// Pick latencyPodsIterations so that:
// latencyPodsIterations * nodeCount >= MinPodStartupMeasurements.
@ -969,7 +971,6 @@ var _ = SIGDescribe("Density", func() {
framework.LogSuspiciousLatency(startupLag, e2eLag, nodeCount, c)
}
cleanupDensityTest(dConfig, testPhaseDurations)
})
}
})