Covert Stackdriver Logging load tests to soak tests

This commit is contained in:
Mik Vyatskov
2017-06-29 13:45:10 +02:00
parent c9ad8dcde0
commit 625192b3a2
7 changed files with 250 additions and 235 deletions

View File

@@ -213,6 +213,11 @@ func waitForFullLogsIngestion(f *framework.Framework, config *loggingTestConfig)
if totalMissing > 0 {
framework.Logf("After %v still missing %d lines, %.2f%% of total number of lines",
config.IngestionTimeout, totalMissing, lostFraction*100)
for podIdx, missing := range missingByPod {
if missing != 0 {
framework.Logf("Still missing %d lines for pod %v", missing, config.Pods[podIdx])
}
}
}
if lostFraction > config.MaxAllowedLostFraction {