Skip to content

Commit

Permalink
[#329] Reduce amount of cycles in TaskDataStoreTest
Browse files Browse the repository at this point in the history
Reduce from 1000 to 10
  • Loading branch information
ruspl-afed committed Nov 29, 2023
1 parent 9b2bcc6 commit 3787d36
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -9,6 +9,7 @@
*
* Contributors:
* Tasktop Technologies - initial API and implementation
* ArSysOp - ongoing support
*******************************************************************************/

package org.eclipse.mylyn.tasks.tests;
Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit 3787d36

Please sign in to comment.