locationtech / geogig

GeoGig project
Other
402 stars 80 forks source link

Intermitent LogOp/MergeOp test failures #497

Closed groldan closed 4 years ago

groldan commented 4 years ago

Intermitent LogOp.testAll()/testMerged() failure on canonical repo

Fix time-based commit graph topology errors

Ensuring Platform.currentTimeMillis() never returns the same value (increments by one millisecond if it's about to return the same time twice) ensures fast calls to commit can't result time-based topology errors messing up log-op.