@@ -123,9 +123,7 @@ namespace test_multiple_kvs
123123 template <typename T>
124124 static void info_log (const std::string &instance, const std::string &keyname, T value)
125125 {
126- std::cout << " Value is :" << value << std::endl;
127- // ToDo: TRACING_INFO is not setting the precision of floating point to 1 decimal .
128- // Change either global subsrciber in tracing or python test cases.
126+ // TRACING_INFO is not setting the precision of floating point to 1 decimal .
129127 TRACING_INFO (kTargetName , std::pair{std::string{" instance" }, instance},
130128 std::pair{std::string{" key" }, keyname},
131129 std::pair{std::string{" value" }, value});
@@ -166,7 +164,6 @@ namespace test_multiple_kvs
166164 }
167165 catch (const std::exception &e)
168166 {
169-
170167 throw e;
171168 }
172169
@@ -202,12 +199,10 @@ namespace test_multiple_kvs
202199
203200 if (!value1_res || !value2_res)
204201 throw std::runtime_error (" Failed to retrieve values from KVS instances" );
205- // Read and log using value_is_default and current_value
206- const bool value_is_default1 = kvs1b.has_default_value (keyname).value ();
202+
207203 const double current_value1 = std::get<double >(value1_res.value ().getValue ());
208204 info_log (" kvs1" , keyname, current_value1);
209205
210- const bool value_is_default2 = kvs2b.has_default_value (keyname).value ();
211206 const double current_value2 = std::get<double >(value2_res.value ().getValue ());
212207 info_log (" kvs2" , keyname, current_value2);
213208 }
@@ -269,7 +264,6 @@ namespace test_multiple_kvs
269264 throw set_res1.error ();
270265 auto set_res2 = kvs2.set_value (keyname, KvsValue (value2));
271266 if (!set_res2)
272-
273267 throw set_res2.error ();
274268
275269 kvs1.flush ();
0 commit comments