[malff@malff-desktop build-otelcpp-abiv1]$ ./ext/test/http/url_parser_test
Running main() from /builddir/build/BUILD/googletest-release-1.11.0/googletest/src/gtest_main.cc
[==========] Running 2 tests from 2 test suites.
[----------] Global test environment set-up.
[----------] 1 test from UrlParserTests
[ RUN ] UrlParserTests.BasicTests
unknown file: Failure
C++ exception with description "stoi" thrown in the test body.
[ FAILED ] UrlParserTests.BasicTests (0 ms)
[----------] 1 test from UrlParserTests (0 ms total)
[----------] 1 test from UrlDecoderTests
[ RUN ] UrlDecoderTests.BasicTests
[ OK ] UrlDecoderTests.BasicTests (0 ms)
[----------] 1 test from UrlDecoderTests (0 ms total)
[----------] Global test environment tear-down
[==========] 2 tests from 2 test suites ran. (0 ms total)
[ PASSED ] 1 test.
[ FAILED ] 1 test, listed below:
[ FAILED ] UrlParserTests.BasicTests
1 FAILED TEST
This issue is available for anyone to work on. Make sure to reference this issue in your pull request.
:sparkles: Thank you for your contribution! :sparkles:
When parsing
https://https://example.com/some/path
, the URL parser throws an exception.The expected result is to return a parse error instead.