From 3787d3614d93c8193820bde0fde3351e80b242c5 Mon Sep 17 00:00:00 2001 From: Alexander Fedorov Date: Wed, 29 Nov 2023 14:58:16 +0300 Subject: [PATCH] [#329] Reduce amount of cycles in TaskDataStoreTest Reduce from 1000 to 10 --- .../src/org/eclipse/mylyn/tasks/tests/TaskDataStoreTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mylyn.tasks/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskDataStoreTest.java b/mylyn.tasks/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskDataStoreTest.java index 332063da50..dfda8dcbbd 100644 --- a/mylyn.tasks/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskDataStoreTest.java +++ b/mylyn.tasks/org.eclipse.mylyn.tasks.tests/src/org/eclipse/mylyn/tasks/tests/TaskDataStoreTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004, 2013 Tasktop Technologies and others. + * Copyright (c) 2004, 2023 Tasktop Technologies and others. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0 which is available at @@ -9,6 +9,7 @@ * * Contributors: * Tasktop Technologies - initial API and implementation + * ArSysOp - ongoing support *******************************************************************************/ package org.eclipse.mylyn.tasks.tests; @@ -320,7 +321,7 @@ public void testRandomDataXml_1_1() throws Exception { private void randomData(int start, int end) throws Exception { setupData(); - for (int i = 0; i < 1000; i++) { + for (int i = 0; i < 10; i++) { TaskAttribute attribute = data.getRoot().createAttribute("testId"); attribute.getMetaData().setLabel(generateString(start, end)); attribute.putOption(generateString(start, end), generateString(start, end));