Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spurious issue with GuideServiceGuideStarHash. #1535

Open
swalker2m opened this issue Jan 2, 2025 · 0 comments
Open

Spurious issue with GuideServiceGuideStarHash. #1535

swalker2m opened this issue Jan 2, 2025 · 0 comments

Comments

@swalker2m
Copy link
Contributor

==> X lucuma.odb.service.GuideServiceGuideStarHash.hashes different for different constraint sets  0.057s munit.ComparisonFailException: /home/runner/work/lucuma-odb/lucuma-odb/modules/service/src/test/scala/lucuma/odb/service/GuideServiceGuideStarHash.scala:100
99:       if (cs1 === cs2)
100:        assertEquals(hash1, hash2)
101:      else
values are not the same
=> Obtained
Chunk(
  bytes = View(
    at = scodec.bits.ByteVector$AtArray@2baab72a,
    offset = 0,
    size = 16
  )
)
=> Diff (- obtained, + expected)
   bytes = View(
-    at = scodec.bits.ByteVector$AtArray@2baab72a,
+    at = scodec.bits.ByteVector$AtArray@7447eb9f,
     offset = 0,

Failing seed: GrpnmJWAxW5QDADB1_9qloXKER3DuYJlFBVoI6JTvoH=
You can reproduce this failure by adding the following override to your suite:

  override val scalaCheckInitialSeed = "GrpnmJWAxW5QDADB1_9qloXKER3DuYJlFBVoI6JTvoH="

Falsified after 45 passed tests.
> ARG_0: (o-1,p-75f8fb870d4b576d,ConstraintSet(PointSix,PointOne,Dark,VeryDry,AirMass(1.0,1)),ConstraintSet(PointSix,PointOne,Dark,VeryDry,AirMass(1,1)),Unbounded,Some(Coordinates(04:00:54.775807 +31:59:05.224193)),Some(+183129-04-27T11:54:01.851591Z),Some(1627),Some(Gaia DR3 0),Some(ByteVector(16 bytes, 0x754d00ffff6dcaffff0050ff0175d02d)),ByteVector(16 bytes, 0x3c0000007f80018f090618ffb46cb101),6163)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant