Skip to content

Conversation

@wang3820
Copy link
Owner

@wang3820 wang3820 commented Sep 1, 2023

Non determinism in this test is caused by the object mapper class that is used by the mockserver class for testing. The object mapper is used to serialize a list http requests in one string and send them to a server. However, it does not print to the string in the same order everytime. For example, name, path, and body in one http request does not get printed in the same order when it is send to the mock client for expection and verification by VerificationSequenceSerializer.serialize() and ExpectationSerializer.serialize().

This is not a fix as I only removed lines using object mapper and I don't know how to fix this as the serialization functions are part of standard library.

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

Successfully merging this pull request may close these issues.

2 participants