-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug A clear and concise description of what the bug is.
docs/developers.md says ./gradlew build should work, it no longer does out of the box. Before we were on ea281ea, had no problems then.
With current master (ff9a36b) I noticed I had to:
- install libncurses5 (found this in
.github/workflows/build-and-test.yml), maybe this can just be updated in the docs? - run
TZ=UTC ./gradlew buildto make:dao-impl:ebean-dao:testpass; otherwise I got stuff like
12:01:29.310 [DEBUG] [TestEventLogger] Gradle suite > Gradle test > com.linkedin.metadata.dao.localrelationship.EbeanLocalRelationshipWriterDAOTest.testAddRelationshipWithRemoveAllEdgesToDestination FAILED
12:01:29.311 [DEBUG] [TestEventLogger] javax.persistence.PersistenceException: Data truncation: Incorrect datetime value: '1970-01-01 00:00:01' for column 'lastmodifiedon' at row 1
Think this is 1970/01/01 in my timezone (=GMT+1) hence before 1970 in UTC. Thought the latest commits could maybe have fixed it since they mentioned lastmodifiedon, but apparently the issue is still there (tested with a8fb6c9 and ff9a36b).
Expected behavior
Tests should work regardless of timezone
Desktop (please complete the following information):
Ubuntu 22.04
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working