mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Fix error
This commit is contained in:
parent
5e5779adfd
commit
941ee1a214
@ -19,8 +19,6 @@ TEST(Common, getMultipleValuesFromConfig)
|
||||
</first_level>
|
||||
</yandex>)END");
|
||||
|
||||
xml_isteam.exceptions(std::ios::failbit);
|
||||
|
||||
Poco::AutoPtr<Poco::Util::XMLConfiguration> config = new Poco::Util::XMLConfiguration(xml_isteam);
|
||||
std::vector<std::string> answer = getMultipleValuesFromConfig(*config, "first_level", "second_level");
|
||||
std::vector<std::string> right_answer = {"0", "1", "2", "3"};
|
||||
|
@ -135,8 +135,6 @@ TEST(Common, SensitiveDataMasker)
|
||||
</query_masking_rules>
|
||||
</clickhouse>)END");
|
||||
|
||||
xml_isteam.exceptions(std::ios::failbit);
|
||||
|
||||
Poco::AutoPtr<Poco::Util::XMLConfiguration> xml_config = new Poco::Util::XMLConfiguration(xml_isteam);
|
||||
DB::SensitiveDataMasker masker_xml_based(*xml_config, "query_masking_rules");
|
||||
std::string top_secret = "The e-mail of IVAN PETROV is kotik1902@sdsdf.test, and the password is qwerty123";
|
||||
@ -168,7 +166,6 @@ TEST(Common, SensitiveDataMasker)
|
||||
</query_masking_rules>
|
||||
</clickhouse>)END");
|
||||
|
||||
xml_isteam_bad.exceptions(std::ios::failbit);
|
||||
Poco::AutoPtr<Poco::Util::XMLConfiguration> xml_config = new Poco::Util::XMLConfiguration(xml_isteam_bad);
|
||||
DB::SensitiveDataMasker masker_xml_based_exception_check(*xml_config, "query_masking_rules");
|
||||
|
||||
@ -191,8 +188,6 @@ TEST(Common, SensitiveDataMasker)
|
||||
</query_masking_rules>
|
||||
</clickhouse>)END");
|
||||
|
||||
xml_isteam_bad.exceptions(std::ios::failbit);
|
||||
|
||||
Poco::AutoPtr<Poco::Util::XMLConfiguration> xml_config = new Poco::Util::XMLConfiguration(xml_isteam_bad);
|
||||
DB::SensitiveDataMasker masker_xml_based_exception_check(*xml_config, "query_masking_rules");
|
||||
|
||||
@ -215,8 +210,6 @@ TEST(Common, SensitiveDataMasker)
|
||||
</query_masking_rules>
|
||||
</clickhouse>)END");
|
||||
|
||||
xml_isteam_bad.exceptions(std::ios::failbit);
|
||||
|
||||
Poco::AutoPtr<Poco::Util::XMLConfiguration> xml_config = new Poco::Util::XMLConfiguration(xml_isteam_bad);
|
||||
DB::SensitiveDataMasker masker_xml_based_exception_check(*xml_config, "query_masking_rules");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user