Skip to content

Tests assume time zone is GMT #7

@wambold

Description

@wambold

I'm in the PST timezone. If I run the tests normally, I get:

Tests run: 125, Failures: 7, Errors: 2, Skipped: 0

But if I run with

TZ=GMT mvn clean package

I get:

Tests run: 125, Failures: 1, Errors: 2, Skipped: 0

A number of your tests make assumptions that they are being run in the GMT time zone. I suggest explictly setting the timezone in your tests or changing your documentation.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions