Skip to content

Intermittent failure in Scalacheck suite (scalacheck/duration.scala) #296

Closed
@retronym

Description

@retronym

Thanks to @rorygraves for this report:

Looking at the test failure - its unrelated

[info] ! Division of Duration by Long.on overflow edge cases: Exception raised on property evaluation.
[info] > Exception: org.scalacheck.Gen$Choose$IllegalBoundsError: invalid bounds: low=9223372036854775799, high=-9223372036854775797

I did some investigation and the failure occurs here

A value of 1 or -1 fails the choose on line 35.
I don't have time to raise the proper bug report right now - but thought I would highlight it.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions