konveyor / tackle-test-generator-core

Apache License 2.0
28 stars 21 forks source link

Check why in some cases timestamps are asserted #116

Closed rachelt44 closed 2 years ago

rachelt44 commented 2 years ago

Describe the bug

Timestamps should not be asserted, but in some cases they are. We should investigate why they escape our repeated execution to eliminate random/changing values

Attachments

To help us diagnose the failure, please add these attachments to the issue, as appropriate:

Environment information

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

rachelt44 commented 2 years ago

The timestamp was asserted because its input was a constant value, hence its output was constant and did not depend on the current time.

java.sql.Timestamp timestamp1 = new java.sql.Timestamp((-1L));