Giter VIP home page Giter VIP logo

Comments (7)

snuyanzin avatar snuyanzin commented on June 24, 2024 1

This is test only related issue
should be fixed with #1100
can you please double check?

from datafaker.

snuyanzin avatar snuyanzin commented on June 24, 2024 1

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.

snuyanzin avatar snuyanzin commented on June 24, 2024

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.

snuyanzin avatar snuyanzin commented on June 24, 2024

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.

kingthorin avatar kingthorin commented on June 24, 2024

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.

kingthorin avatar kingthorin commented on June 24, 2024

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.

kingthorin avatar kingthorin commented on June 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.