Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DogFoodTests does not correctly check timestamps for logs #332

Open
amumurst opened this issue Jul 8, 2021 · 1 comment
Open

DogFoodTests does not correctly check timestamps for logs #332

amumurst opened this issue Jul 8, 2021 · 1 comment

Comments

@amumurst
Copy link

amumurst commented Jul 8, 2021

Running sbt -mem 8192 test locally this tests fails.

[info] welcome to sbt 1.5.4 (AdoptOpenJDK Java 1.8.0_282)
.....
[info] *************FAILURES**************
[info] weaver.framework.test.DogFoodTests
[info] - test suite outputs logs for failed tests 2s
[info]   Values not equal: (modules/framework/cats/test/src/DogFoodTests.scala:84)
[info] 
[info]   - failure 0ms                                               |  - failure 0ms
[info]     expected (src/main/DogFoodTests.scala:5)                  |    expected (src/main/DogFoodTests.scala:5)
[info]                                                               |  
[info]       [INFO]  [11]:54:35 [DogFoodTests.scala:5] this test     |      [INFO]  [12]:54:35 [DogFoodTests.scala:5] this test
[info]       [ERROR] [11]:54:35 [DogFoodTests.scala:5] has failed    |      [ERROR] [12]:54:35 [DogFoodTests.scala:5] has failed
[info]       [DEBUG] [11]:54:35 [DogFoodTests.scala:5] with context  |      [DEBUG] [12]:54:35 [DogFoodTests.scala:5] with context
[info]           a       -> b                                        |          a       -> b
[info]           token   -> <something>                              |          token   -> <something>
[info]           request -> true                                     |          request -> true

I am located in

Standard time zone:	    UTC/GMT +1:00 hour
Daylight saving time:	    +1:00 hour
Current time zone offset:   UTC/GMT +2:00 hours
Time zone abbreviation:	    CEST
@keynmol
Copy link
Collaborator

keynmol commented Aug 25, 2021

Timezones, my old nemesis!

I'll have a think on how to make those tests less problematic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants