-
Notifications
You must be signed in to change notification settings - Fork 6
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
Conversation
@@ -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') }") |
There was a problem hiding this comment.
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.
We did not have jruby on CI .. had to do some misc work to fix that build. |
This reverts commit f199b7b.
Refactors benchmarking to use the shared tooling