Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Merge pull request #170 from garious/refactor-historian
Browse files Browse the repository at this point in the history
Fix nightly build
  • Loading branch information
garious authored May 3, 2018
2 parents a158d74 + 94604fb commit e64ab22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/accountant_skel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,7 @@ mod bench {
use signature::{KeyPair, KeyPairUtil};
use std::collections::HashSet;
use std::io::sink;
use std::sync::mpsc::sync_channel;
use std::time::Instant;
use transaction::Transaction;

Expand Down Expand Up @@ -814,7 +815,7 @@ mod bench {
let tps = txs as f64 / sec;

// Ensure that all transactions were successfully logged.
drop(input);
drop(skel.historian_input);
let entries: Vec<Entry> = skel.historian.output.iter().collect();
assert_eq!(entries.len(), 1);
assert_eq!(entries[0].events.len(), txs as usize);
Expand Down

0 comments on commit e64ab22

Please sign in to comment.