Skip to content

Commit 54eb688

Browse files
Increasing time of performance test
1 parent 4040975 commit 54eb688

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/groovy/edu/ie3/datamodel/io/factory/result/SystemParticipantResultFactoryTest.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,13 @@ class SystemParticipantResultFactoryTest extends Specification implements Factor
156156
"p" : "2",
157157
"q" : "2",
158158
]
159-
expect: "that the factory should not need more than 2 seconds for processing 100.000 entities"
159+
expect: "that the factory should not need more than 3 seconds for processing 10.000 entities"
160160
Long startTime = System.currentTimeMillis()
161161
10000.times {
162162
resultFactory.get(new SimpleEntityData(parameter, StorageResult))
163163
}
164164
BigDecimal elapsedTime = (System
165165
.currentTimeMillis() - startTime) / 1000.0
166-
elapsedTime < 2
166+
elapsedTime < 3
167167
}
168168
}

0 commit comments

Comments
 (0)