Skip to content

Commit

Permalink
fix client tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bluejekyll committed Sep 11, 2017
1 parent 7907c47 commit 3601340
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/src/client/memoize_client_handle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ mod test {
}

impl ClientHandle for TestClient {
fn is_verifying_dnssec(&self) -> bool {
false
}

fn send(&mut self, _: Message) -> Box<Future<Item = Message, Error = ClientError>> {
let mut message = Message::new();
let i = self.i.get();
Expand Down
4 changes: 4 additions & 0 deletions client/src/client/retry_client_handle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ mod test {
}

impl ClientHandle for TestClient {
fn is_verifying_dnssec(&self) -> bool {
false
}

fn send(&mut self, _: Message) -> Box<Future<Item = Message, Error = ClientError>> {
let i = self.attempts.get();

Expand Down

0 comments on commit 3601340

Please sign in to comment.