Merge pull request #20364 from freehan/estest

explictly check log tainted string
This commit is contained in:
Minhan Xia 2016-02-02 14:12:52 -08:00
commit cacda7bc7a

View File

@ -407,6 +407,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]++
}