Reduce threshold for broken confidence to 5% of all apps failing
@@ -59,7 +59,7 @@ public class VespaVersion implements Comparable<VespaVersion> {
if ( ! failingOnThis.with(UpgradePolicy.canary).isEmpty())
return Confidence.broken;
- // 'broken' if 4 non-canary was broken by this, and that is at least 10% of all
+ // 'broken' if 4 non-canary was broken by this, and that is at least 5% of all
if (nonCanaryApplicationsBroken(statistics.version(), failingOnThis, productionOnThis))
return Confidence.broken;
@@ -173,9 +173,9 @@ public class VespaVersion implements Comparable<VespaVersion> {
if (productionNonCanaries.size() + failingNonCanaries.size() == 0) return false;
- // 'broken' if 4 non-canary was broken by this, and that is at least 10% of all
+ // 'broken' if 4 non-canary was broken by this, and that is at least 5% of all
int brokenByThisVersion = failingNonCanaries.size();
- return brokenByThisVersion >= 4 && brokenByThisVersion >= productionOnThis.size() * 0.1;
+ return brokenByThisVersion >= 4 && brokenByThisVersion >= productionOnThis.size() * 0.05;
}
}
