From 5d84cf0463d9ea6cd2173a49a3ec9311c5fcb452 Mon Sep 17 00:00:00 2001
From: Patrick Martin
Date: Wed, 19 Feb 2020 16:55:43 +0100
Subject: [PATCH] changed plugin limit to 20
---
.../src/main/java/io/qameta/allure/history/HistoryPlugin.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/allure-generator/src/main/java/io/qameta/allure/history/HistoryPlugin.java b/allure-generator/src/main/java/io/qameta/allure/history/HistoryPlugin.java
index 552b92663..7f28ac5f2 100644
--- a/allure-generator/src/main/java/io/qameta/allure/history/HistoryPlugin.java
+++ b/allure-generator/src/main/java/io/qameta/allure/history/HistoryPlugin.java
@@ -156,7 +156,7 @@ private void updateHistory(final Map history,
}
final List newItems = Stream.concat(Stream.of(newItem), data.getItems().stream())
- .limit(5)
+ .limit(20)
.collect(Collectors.toList());
result.setNewFailed(isNewFailed(newItems));
result.setFlaky(isFlaky(newItems));