Skip to content

Commit 884ca70

Browse files
committed
test_schema_await_with_transient_failure: switch to ignorable error
SyntaxError will cause schema agreement process to fail immediately after next commits (that will add error classification there).
1 parent e659314 commit 884ca70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scylla/tests/integration/session/schema_agreement.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ async fn test_schema_await_with_transient_failure() {
191191
// Use error that would prevent DefaultRetryPolicy from retrying.
192192
// I don't think it is used for those queries, but it's additional future-proofing
193193
// for the test.
194-
RequestReaction::forge_with_error(DbError::SyntaxError),
194+
RequestReaction::forge_with_error(DbError::Overloaded),
195195
)]);
196196

197197
// First, a sanity check for proxy rules.

0 commit comments

Comments
 (0)