Skip to content

Commit b0aa444

Browse files
committed
fix: proxy tests
Proxy would drop connection during metadata fetch which causes some tests to fail.
1 parent c704a0b commit b0aa444

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scylla-rust-wrapper/src/session.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ mod tests {
703703
Condition::RequestOpcode(RequestOpcode::Query),
704704
// We won't respond to any queries (including metadata fetch),
705705
// but the driver will manage to continue with dummy metadata.
706-
RequestReaction::drop_connection(),
706+
RequestReaction::forge().server_error(),
707707
)]
708708
}
709709

0 commit comments

Comments
 (0)