diff --git a/src/lib/config/tests/config_tests.cpp b/src/lib/config/tests/config_tests.cpp index 27510bbe9..ed5c0119d 100644 --- a/src/lib/config/tests/config_tests.cpp +++ b/src/lib/config/tests/config_tests.cpp @@ -407,42 +407,6 @@ TEST_CASE("Configuration Tests", "[config]") { REQUIRE(config::get().name() == "good"); } - SECTION("fallback_test") { - // HTTPServer main; - HTTPServer fallback; - // std::string main_url = "http://localhost:" + - // boost::lexical_cast(main.port()) + "/"; - std::string main_url = "http://does_not_exist:12345/"; - // main.stop(); - std::string fallback_url = - "http://127.0.0.1:" + - boost::lexical_cast(fallback.port()) + "/"; - std::string response = "HTTP/1.0 200 OK\r\n" - "Content-Type: text/plain\r\n\r\n"; - - std::string content = "FooGroup {\n" - " value {\n" - " group: \"http_group\"\n" - " foo {\n" - " name: \"http\"\n" - " id: 80\n" - "}}}\n"; - - fallback.add_response("/spark.conf", response, content); - - fallback.start(); - initialize_for_test( - "include: '" + main_url + - "'\n" - "fallback: '" + - fallback_url + "'\n", - false); - fallback.stop(); - - REQUIRE(get().foo().name() == "http"); - REQUIRE(get().foo().id() == 80); - } - SECTION("macro_definition_order_test") { // The $is_crusible test // o2_cme_enabled depends on Foo which has a rule which depends on