Reduce console noise coming from unit tests:

A few unit tests have historically generated a lot of noise
to the console from log writes.  This noise was not useful
and made it harder to locate actual test failures.

By changing the log level of these tests from
- severities::kError to
- severities::kDisabled
it was possible to remove that noise coming from the logs.
This commit is contained in:
Scott Schurr
2022-05-13 17:06:14 -07:00
committed by Nik Bougalis
parent ee60b16b3a
commit 0839a202c9
19 changed files with 116 additions and 60 deletions

View File

@@ -388,7 +388,12 @@ class NFTokenDir_test : public beast::unit_test::suite
auto exerciseFixNFTokenDirV1 =
[this,
&features](std::initializer_list<std::string_view const> seeds) {
Env env{*this, features};
Env env{
*this,
envconfig(),
features,
nullptr,
beast::severities::kDisabled};
// Eventually all of the NFTokens will be owned by buyer.
Account const buyer{"buyer"};