Skip to content

Adapt integration test to be Java 11 forward-compatible#594

Merged
mp911de merged 1 commit intopgjdbc:mainfrom
fkomauli:patch-1
Jun 16, 2023
Merged

Adapt integration test to be Java 11 forward-compatible#594
mp911de merged 1 commit intopgjdbc:mainfrom
fkomauli:patch-1

Conversation

@fkomauli
Copy link
Copy Markdown
Contributor

@fkomauli fkomauli commented Jun 7, 2023

Reintroduced JDK > 8 incompatible integration test with java.time.Instant stored as timestamptz.
Instant.now() precision changed from ms to ns after JDK 8, so tests must deal with conversions to postgres μs

…stamptz

Instant.now() precision changed from ms to ns since Java 11, so tests must deal with conversions to postgres μs
@mp911de mp911de added the type: task A general task label Jun 15, 2023
@mp911de mp911de added this to the 1.0.2.RELEASE milestone Jun 15, 2023
@mp911de mp911de merged commit f511bd7 into pgjdbc:main Jun 16, 2023
mp911de pushed a commit that referenced this pull request Jun 16, 2023
Instant.now() precision changed from ms to ns since Java 11, so tests must deal with conversions to postgres μs..

[resolves #594]
@mp911de
Copy link
Copy Markdown
Collaborator

mp911de commented Jun 16, 2023

Thank you for your contribution. That's merged and backported now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: task A general task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants