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

DecodeSpec property issue #4262

Open
rossabaker opened this issue Jan 25, 2021 · 2 comments
Open

DecodeSpec property issue #4262

rossabaker opened this issue Jan 25, 2021 · 2 comments
Labels
bug Determined to be a bug in http4s module:core

Comments

@rossabaker
Copy link
Member

On https://github.com/http4s/http4s/pull/4259/checks?check_run_id=1758604037

[info] DecodeSpec
[info] decode should
[error]   x be consistent with utf8Decode (2 seconds, 264 ms)
[error]    Falsified after 97 passed tests.
[error]    > ARG_0: "î༗ഌൎோ๚óచઝೡ੣൶Ó౏མັघ౷ฉ౿Çூ­ଈຉ৶"
[error]    > ARG_1: 1
[error]    > ARG_0_ORIGINAL: "쳍全鵤駐퐔凉왦Ӱ벮䧶㱟탂퓩벲༶솠꧓츔꘹귊᫜ᡙ얳‮흭Ó承㵠䣇㇟ㇼ̟밬ʶ塃齣"
[error]    > ARG_1_ORIGINAL: 2147483647
[error]    The seed is czYXr54iEAm1ARcjHtrqOZyh4fV1BBh4CPLL2WfJu0I=
[error]    
[error]    > Right(î༗ഌൎோ๚óచઝೡ੣൶Ó౏མັघ౷ฉ౿Çூ­ଈຉ৶) != Right(î༗ഌൎோ๚óచઝೡ੣൶Ó౏མັघ౷ฉ౿Çூ­ଈຉ৶) (DecodeSpec.scala:46)
@rossabaker rossabaker added bug Determined to be a bug in http4s module:core labels Apr 12, 2021
@rossabaker
Copy link
Member Author

Another:

The array doesn't print itself nicely, but it could be chased from the seed.

==> X org.http4s.DecodeSpec.decode should either succeed or raise a CharacterCodingException  0.031s munit.FailException: /home/runner/work/http4s/http4s/tests/src/test/scala/org/http4s/DecodeSpec.scala:144
143:
144:    test("decode should either succeed or raise a CharacterCodingException") {
145:      forAll { (bs: Array[Byte], cs: Charset) =>

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

  override val scalaCheckInitialSeed = "gPC4aM6_-CK6CCi4CrdOn3bbjcm0U0k5NRfDpb_vAeC="

Falsified after 2 passed tests.
> ARG_0: [B@21e21381
> ARG_1: x-COMPOUND_TEXT

@rossabaker
Copy link
Member Author

Another:

==> X org.http4s.DecodeSpec.decode should either succeed or raise a CharacterCodingException  0.064s munit.FailException: /home/runner/work/http4s/http4s/tests/src/test/scala/org/http4s/DecodeSpec.scala:142
141:      }
142:    }
143:  }

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

  override val scalaCheckInitialSeed = "gSolLkYQZqfzD3GWJQMMCYOYOT5qadINs56dbAsx_RK="

Falsified after 7 passed tests.
> ARG_0: [B@1c6ade0a
> ARG_1: x-COMPOUND_TEXT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Determined to be a bug in http4s module:core
Projects
None yet
Development

No branches or pull requests

1 participant