summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@yahoo-inc.com>2017-06-14 13:12:32 +0200
committerBjørn Christian Seime <bjorncs@yahoo-inc.com>2017-06-14 13:12:32 +0200
commitd104fbb9df429c2906a5d1c0b6eec032f7ad3a3c (patch)
tree990d87473b6c6e0861d26055f3c18cdd6061d4c2 /config
parent430d8e9f998cb75ab06f60c639f0247e73408e08 (diff)
Remove unstable test
There is no guarantee that the Norwegian locale is available on the compilation target.
Diffstat (limited to 'config')
-rw-r--r--config/src/tests/configparser/configparser.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/config/src/tests/configparser/configparser.cpp b/config/src/tests/configparser/configparser.cpp
index 7a66d831ee5..521df96af3a 100644
--- a/config/src/tests/configparser/configparser.cpp
+++ b/config/src/tests/configparser/configparser.cpp
@@ -108,14 +108,6 @@ TEST("require that escaped values are properly unescaped") {
ASSERT_EQUAL("a\nb\rc\\d\"eBg", value);
}
-IGNORE_TEST("verify that locale affects double parsing") { // Failing on some CentOS based environments
- std::vector<vespalib::string> payload;
- setlocale(LC_NUMERIC, "nb_NO.UTF-8");
- payload.push_back("foo 3.14");
- ASSERT_EXCEPTION(ConfigParser::parse<double>("foo", payload), InvalidConfigException, "Value 3.14 is not a legal double");
- setlocale(LC_NUMERIC, "C");
-}
-
TEST("require that maps can be parsed")
{
writeFile("foo.cfg", "\nfooValue \"a\"\nfooMap{\"foo\"} 1336\nfooMap{\"bar\"} 1337\n");