action result size
@@ -271,6 +271,7 @@ public class IssuesRecorderITest extends IntegrationTest {
/**
* IconFileName should begin with "/static/" and end with "/plugin/analysis-core/icons/analysis-24x24.png".
* The middle part of iconFileName is generated.
+ * The action result size varies between 8 (local) and 9 (server)
*/
@Test
public void shouldHaveIconFileName() {
@@ -280,7 +281,7 @@ public class IssuesRecorderITest extends IntegrationTest {
String iconFileName = jobAction.getIconFileName();
ResultAction action = jobAction.getLastAction();
- assertThat(action.getResult().getTotalSize()).isEqualTo(8);
+ assertThat(action.getResult().getTotalSize()).isBetween(8, 9);
assertThat(iconFileName).startsWith("/static/");
assertThat(iconFileName).endsWith("/plugin/analysis-core/icons/analysis-24x24.png");
