From 35e17d9878f82bf5f2a673d195b2a698b4e53011 Mon Sep 17 00:00:00 2001 From: Esa Korhonen Date: Thu, 14 Feb 2019 14:37:33 +0200 Subject: [PATCH] Disable server config serialization test The config parameter ordering depends on which end of the linked list the parameters are added. The test should be re-enabled once parameter handling has been refactored. --- server/core/test/test_server.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/core/test/test_server.cc b/server/core/test/test_server.cc index 92b270db8..3dbdf2d9c 100644 --- a/server/core/test/test_server.cc +++ b/server/core/test/test_server.cc @@ -157,9 +157,12 @@ bool test_serialize() TEST(created->serialize(), "Failed to synchronize the copied server"); /** Check that they serialize to identical files */ + // TODO: Disabled for now. Enable once config parameters are kept in a well-defined order. + /* char cmd[1024]; sprintf(cmd, "diff ./%s ./%s", config_name, old_config_name); TEST(system(cmd) == 0, "The files are not identical"); + */ return true; }