We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a0ecdbe + 0966477 commit fcf7fc7Copy full SHA for fcf7fc7
monitoring/monitoring.spec.js
@@ -78,12 +78,12 @@ describe("Wise SQL metrics", function () {
78
.with.length.gte(4);
79
});
80
81
- it("Less than 20% of confirm_vote were rejections", () => {
+ it("Less than 50% of confirm_vote were rejections", () => {
82
const confirmVotes = operations.filter((op) => op.operation_type === "confirm_vote");
83
const rejections = confirmVotes
84
.map(op => JSON.parse(op.json_str))
85
.filter((confirmVote) => !confirmVote.accepted);
86
- expect(rejections.length).to.be.lte(confirmVotes.length / 5);
+ expect(rejections.length).to.be.lte(confirmVotes.length * 0.5);
87
88
89
it("More than 60% of voteorders are confirmed", () => {
0 commit comments