Skip to content

Commit

Permalink
Reduce the size of the auth line in the invalid_auth test.
Browse files Browse the repository at this point in the history
  • Loading branch information
AltSysrq committed May 31, 2024
1 parent b00e3b1 commit e04d282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/smtp/inbound/smtpsub_integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ fn invalid_auth() {
cxn.simple_command("AUTH PLAIN", "334 ");
cxn.simple_command("invalidbase64!", "500 5.5.2");
cxn.simple_command("AUTH PLAIN", "334 ");
let mut overlong = "long".repeat(32768 / 4 + 1);
let mut overlong = "long".repeat(1025);
overlong.push_str("\r\n");
cxn.write_raw(overlong.as_bytes());
let responses = cxn.read_responses();
Expand Down

0 comments on commit e04d282

Please sign in to comment.