-
Notifications
You must be signed in to change notification settings - Fork 512
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
Rare should equal failure with dictionary comparison [Remastered]. #682
Comments
Thanks for the remastered version! 😁 So I guess the problem is still occurring? Is it possible to reduce your test case at all? That is, does a dictionary comparison fail stochastically when not using code from the JWT project? I ask because Kiwi uses
I think the more likely explanation is that something in the Of course, it's possible there's some bug I'm overlooking in Kiwi. Reducing the test case would help find that, too! |
@modocache hey, how could I isolate this test? |
Hey @lolgear! Yeah, I think a new Xcode project with just this test, and just the source code it's testing, will probably help isolate the problem better. |
@modocache |
@modocache any update? |
Not yet, sorry! Will try to find a spare minute during a weekend soon. |
Or if you have some spare time before I do, you could take a look at the Kiwi internals to try and figure it out! |
Well, as I told before
dictionaries equal doesn't work well.
I would like to narrow down the area for inspection, but I could only give you a clue:
git: yourkarma/jwt
branch: master ( latest release, for example, 2.0.2 )
JWTSpec.m
describe encoding -> context claims set -> it decode claims set and verify it correctly.
steps to reproduce:
The text was updated successfully, but these errors were encountered: