Remove print in test (#7758)

automerge
This commit is contained in:
carllin 2020-01-10 15:37:22 -08:00 committed by Grimes
parent b7b68ecdba
commit fd3c6eb320
3 changed files with 3 additions and 3 deletions

View File

@ -20,6 +20,7 @@ declare prints=(
declare print_free_tree=(
'core/src'
'faucet/src'
'ledger/src'
'metrics/src'
'net-utils/src'
'runtime/src'

View File

@ -2127,8 +2127,8 @@ pub fn create_new_ledger(ledger_path: &Path, genesis_config: &GenesisConfig) ->
if !output.status.success() {
use std::io::{Error as IOError, ErrorKind};
use std::str::from_utf8;
eprintln!("tar stdout: {}", from_utf8(&output.stdout).unwrap_or("?"));
eprintln!("tar stderr: {}", from_utf8(&output.stderr).unwrap_or("?"));
error!("tar stdout: {}", from_utf8(&output.stdout).unwrap_or("?"));
error!("tar stderr: {}", from_utf8(&output.stderr).unwrap_or("?"));
return Err(BlocktreeError::IO(IOError::new(
ErrorKind::Other,

View File

@ -1243,7 +1243,6 @@ pub mod tests {
.unwrap();
// Should see only the parent of the dead children
println!("{:?}", bank_forks_info);
assert_eq!(bank_forks_info.len(), 1);
assert_eq!(bank_forks_info[0], BankForksInfo { bank_slot: 0 },);
verify_fork_infos(&bank_forks, &bank_forks_info);