realm / realm-core

Core database component for the Realm Mobile Database SDKs
https://realm.io
Apache License 2.0
1.02k stars 165 forks source link

Added tool to run the redirect server from the command line #8016

Closed michael-wb closed 2 months ago

michael-wb commented 2 months ago

What, How & Why?

Added a command line tool to the test/object-store/tools directory that runs the redirect server outside of the tests for validating the location endpoint and http/websocket redirection support within Core.

☑️ ToDos

coveralls-official[bot] commented 2 months ago

Pull Request Test Coverage Report for Build michael.wilkersonbarker_1375

Details


Files with Coverage Reduction New Missed Lines %
src/realm/array_string.cpp 1 88.03%
src/realm/mixed.cpp 1 86.75%
src/realm/sort_descriptor.cpp 1 94.06%
src/realm/sync/instructions.hpp 1 76.71%
test/test_query2.cpp 1 98.73%
src/realm/sync/network/http.hpp 2 82.27%
src/realm/sync/client.cpp 3 90.96%
src/realm/sync/noinst/protocol_codec.hpp 3 75.74%
src/realm/table.cpp 3 90.46%
src/realm/sync/instruction_applier.cpp 5 68.01%
<!-- Total: 91 -->
Totals Coverage Status
Change from base Build michael.wilkersonbarker_1373: -0.007%
Covered Lines: 217426
Relevant Lines: 238681

💛 - Coveralls
jbreams commented 2 months ago

Why do we need this?

michael-wb commented 2 months ago

Why do we need this?

I had used it while writing the tests for #8011 and thought it might be helpful in the future. I can close the PR if you don't see any value in it.