Comments (7)
This is test only related issue
should be fixed with #1100
can you please double check?
from datafaker.
thanks for checking
Did still get one from futureDateExpression, but I guess that's unrelated.
I didn't get it however it might be there is a similar issue
from datafaker.
closing as duplicate #1098
it was fixed almost a half a year ago at #954
please use 2.0.2 or 2.1.0+
from datafaker.
OS: Windows 11
JDK - jdk1.8.0_211
Faker Version - 2.1.0
Frankly speaking I do not trust this description
Faker 2.0+ requires java 17, so you can't test 2.1.0 with java 8
@gregma could you please verify that you test with the correct versions?
from datafaker.
I've just run ./mvnw test
a bunch of times on my dev box (with latest code). It does seem that today (leap day) is causes an issue in some cases. But it's intermittent; I get a few good runs, a few bad runs. The failures seem to be consistently these types of messages:
[ERROR] �[1;31mFailures: �[m
[ERROR] �[1;31m DateAndTimeTest.testBirthday:132
Expecting actual:
-342046201694L
to be greater than or equal to:
-342039600000L
[ERROR] �[1;31m Run 29: FakeValuesServiceTest.futureDateExpression:309
Expecting actual:
2024-03-10T10:58:16.842 (java.time.LocalDateTime)
to be between:
]2024-02-29T10:33:20.553472851 (java.time.LocalDateTime), 2024-03-10T10:33:20.553472851 (java.time.LocalDateTime)[
when comparing values using 'ChronoLocalDateTime.timeLineOrder()'
from datafaker.
Re-checking now. I'm guessing you're right on the testBirthday
occurrence. git log -1 was showing codecov as my latest merge so that woulda been the 26th I guess.
from datafaker.
Just re-ran 6 times. Didn't get any failures from testBirthday
so it looks like you've addressed that.
Did still get one from futureDateExpression
, but I guess that's unrelated.
from datafaker.
Related Issues (20)
- Faker.date().birthday() returns in invalid Date on Leap Day HOT 2
- Possible JSON generation error HOT 15
- Duplicate faker groups (Money and Currency) HOT 9
- Release 2.2.0 HOT 10
- Add Java 22 to the build matrix. HOT 6
- Adding a Sensor data provider for testing IoT applications HOT 5
- Support JPMS HOT 7
- Extend medical providers to include more medicine-related values HOT 11
- We should support Ollama HOT 2
- Fix address for 'en-NZ' locale
- Using metacharacters on a character set with regexify does not produce the expected text
- v2.2.0: Exceptions when calling certain Faker methods HOT 8
- NullPointerException when using Faker#locality HOT 3
- Unit test failed
- Provide Stream output for transformers HOT 4
- java.lang.RuntimeException: Unable to resolve #{male_first_name} directive for FakerContext HOT 14
- Allow an easy way to create random PII/PHI data HOT 3
- Breaking DateAndTime HOT 4
- Intermitted expressions failures during testing HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datafaker.