Skip to content

Commit 9527813

Browse files
committed
Merge branch '2.14' into 2.15
2 parents 9f9b156 + 9397181 commit 9527813

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

src/test/java/com/fasterxml/jackson/core/io/schubfach/DoubleToDecimalTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ void testHardValues() {
141141

142142
@Test
143143
void randomNumberTests() {
144-
DoubleToDecimalChecker.randomNumberTests(1_000_000, new Random());
144+
// 29-Nov-2022, tatu: Reduce from 1M due to slowness
145+
DoubleToDecimalChecker.randomNumberTests(250_000, new Random());
145146
}
146147
}

src/test/java/com/fasterxml/jackson/core/io/schubfach/FloatToDecimalTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@ void testPaxson() {
110110
*/
111111
@Test
112112
void testInts() {
113-
for (int i = 1; i < 1 << P - 1; ++i) {
113+
// 29-Nov-2022, tatu: Reduce from original due to slowness
114+
// for (int i = 1; i < 1 << P - 1; ++i) {
115+
for (int i = 1; i < 1 << P - 1; i += 3) {
114116
toDec(i);
115117
}
116118
}

0 commit comments

Comments
 (0)