functional-tester/tester: add missing "newNoChecker"
@@ -312,10 +312,14 @@ func (clus *Cluster) updateStresserChecker() {
}
clus.stresser = cs
+ if clus.Tester.ConsistencyCheck {
clus.checker = newHashChecker(clus.logger, hashAndRevGetter(clus))
if schk := cs.Checker(); schk != nil {
clus.checker = newCompositeChecker([]Checker{clus.checker, schk})
}
+ } else {
+ clus.checker = newNoChecker()
+ }
clus.logger.Info(
"updated stressers",
