Skip to content

Commit

Permalink
integration/shards.rs: ignore control connection messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorak-mmk committed Nov 20, 2023
1 parent 35f7717 commit 3d58669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scylla/tests/integration/shards.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async fn test_consistent_shard_awareness() {
}).unzip();
for (i, tx) in feedback_txs.iter().cloned().enumerate() {
running_proxy.running_nodes[i].change_request_rules(Some(vec![
RequestRule(Condition::RequestOpcode(RequestOpcode::Execute), RequestReaction::noop().with_feedback_when_performed(tx))
RequestRule(Condition::RequestOpcode(RequestOpcode::Execute).and(Condition::not(Condition::ConnectionRegisteredAnyEvent)), RequestReaction::noop().with_feedback_when_performed(tx))
]));
}

Expand Down

0 comments on commit 3d58669

Please sign in to comment.