Skip to content

Commit

Permalink
fix: proxy tests
Browse files Browse the repository at this point in the history
Proxy would drop connection during metadata fetch which causes
some tests to fail.
  • Loading branch information
muzarski committed Jul 11, 2024
1 parent e982434 commit ec6f1d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scylla-rust-wrapper/src/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ mod tests {
Condition::RequestOpcode(RequestOpcode::Query),
// We won't respond to any queries (including metadata fetch),
// but the driver will manage to continue with dummy metadata.
RequestReaction::drop_connection(),
RequestReaction::forge().server_error(),
)]
}

Expand Down

0 comments on commit ec6f1d9

Please sign in to comment.