-
Notifications
You must be signed in to change notification settings - Fork 8
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
Flaky google.protobuf.Struct
matching
#71
Comments
👋 Hi! The 'smartbear-supported' label has just been added to this issue, which will create an internal tracking ticket in PactFlow's Jira (PACT-2313). We will use this to prioritise and assign a team member to this task. All activity will be public on this ticket. For now, sit tight and we'll update this ticket once we have more information on the next steps. |
0.5.1 released with a fix for this |
Amazing, thank you! 🥰 |
Hey @becdot, are you able to confirm if this resolves for you, when you are able to upgrade. ty! |
@YOU54F yes, thank you for following up! Just added a few extra keys to my struct and ran the test several times and we seem to be golden! |
lovely stuff. Thanks for the fix @rholshausen |
Hi! I have a question about struct matching, and I'm feeling kind of stumped. I have a proto with a struct field, e.g.
In my test, I am creating a new struct
and then marshaling it to JSON. The string I am passing to withContents looks like this
I run the test once and get this error
and then I run the test again (changing nothing, with exact same contents string) and it passes.
My best guess is that something weird is happening with ordering – I dug into the trace logs, and as far as I could tell, sometimes the matching code finds the keys in the order
ABAB
(works) and sometimes it finds the keys in the orderABBA
(doesn't work).Let me know if I can provide additional logs / info – thanks so much for taking a look!
The text was updated successfully, but these errors were encountered: