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

Refactor benchmarking + fix related warnings and issues #212

Merged
merged 16 commits into from
Jul 30, 2024

Conversation

mullermp
Copy link
Contributor

Refactors benchmarking to use the shared tooling

@mullermp mullermp changed the title Refactor benchmarking Refactor benchmarking + fix related warnings and issues Jul 27, 2024
@@ -508,7 +508,8 @@ RubyImportContainer.CGI, getRubyArrayFromList(queryParams))
.write("actual_query = $T.parse(request.uri.query)",
RubyImportContainer.CGI)
.openBlock("expected_query.each do |k, v|")
.write("expect(actual_query[k]).to eq(v)")
.write("actual = actual_query[k].map { |s| s.force_encoding('utf-8') }")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not 100% on this one, but looks like query params are only ASCII but protocol tests are UTF-8, so I think no change to our actual builders but instead just compare what we would have sent as utf-8. Doing this in reverse has a frozen string error.

@mullermp
Copy link
Contributor Author

We did not have jruby on CI .. had to do some misc work to fix that build.

.gitmodules Outdated Show resolved Hide resolved
@mullermp mullermp merged commit c7c46fa into main Jul 30, 2024
26 checks passed
@mullermp mullermp deleted the benchmark-refactor branch July 30, 2024 23:41
@mullermp mullermp restored the benchmark-refactor branch July 30, 2024 23:41
@mullermp mullermp deleted the benchmark-refactor branch July 30, 2024 23:42
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