From b06094f09d283f3d6a2c9df7fab20154436a8451 Mon Sep 17 00:00:00 2001 From: Minhan Xia Date: Fri, 29 Jan 2016 18:29:35 -0800 Subject: [PATCH] explictly check log tainted string --- test/e2e/es_cluster_logging.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/e2e/es_cluster_logging.go b/test/e2e/es_cluster_logging.go index 088e6543088..93775bada5a 100644 --- a/test/e2e/es_cluster_logging.go +++ b/test/e2e/es_cluster_logging.go @@ -408,6 +408,10 @@ func ClusterLevelLoggingWithElasticsearch(f *Framework) { Logf("Index value out of range: %d", index) continue } + if words[1] != taintName { + Logf("Elasticsearch query return unexpected log line: %s", msg) + continue + } // Record the observation of a log line from node n at the given index. observed[n][index]++ }