Skip to content

Maintain the right order of client/server while exporting the results to JSON#391

Merged
marten-seemann merged 1 commit intoquic-interop:masterfrom
jaikiran:390
May 24, 2024
Merged

Maintain the right order of client/server while exporting the results to JSON#391
marten-seemann merged 1 commit intoquic-interop:masterfrom
jaikiran:390

Conversation

@jaikiran
Copy link
Contributor

@jaikiran jaikiran commented May 20, 2024

This should fix the issue noted in #390.

The root cause of this issue that the in the change here #355, we introduced the use of a set() for clients and servers https://github.com/quic-interop/quic-interop-runner/pull/355/files#diff-a1f0ac428938a846f118f59aa8e2e66b90bff7b498b928204eb3bfcb41f1f528R245, which cause the clients/servers to be potentially in a different order than the iteration order that we use later a few lines below https://github.com/quic-interop/quic-interop-runner/pull/355/files#diff-a1f0ac428938a846f118f59aa8e2e66b90bff7b498b928204eb3bfcb41f1f528R267.

The commit in this PR, addresses that by changing the iteration logic to iterate in the same order as that of the clients, servers that were constructed as a set(). I have triggered a interop run on my system to verify this actually fixes the issue. I will check out the results tomorrow.

@jaikiran
Copy link
Contributor Author

The interop run that I had triggered last evening completed and the change proposed in this PR has fixed the issue - the result.json now has the content which is correctly ordered.

Copy link
Collaborator

@marten-seemann marten-seemann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @jaikiran!

@marten-seemann marten-seemann merged commit 601c9fc into quic-interop:master May 24, 2024
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.

Test results exported to result.json don't map to the correct server/client

2 participants