Skip to content

Commit

Permalink
make imapserver faster like before again
Browse files Browse the repository at this point in the history
in the precis password change before the previous release, the password used in
fuzzing wasn't correct, triggering sleeps due to botched protocols often, which
made the tests run much longer.
  • Loading branch information
mjl- committed Apr 14, 2024
1 parent 12e6975 commit 11eaa8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions imapserver/fuzz_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ func FuzzServer(f *testing.F) {
// Each command brings the connection state one step further. We try the fuzzing
// input for each state.
run([]string{})
run([]string{"login [email protected] testtest"})
run([]string{"login [email protected] testtest", "select inbox"})
run([]string{`login [email protected] "` + password0 + `"`})
run([]string{`login [email protected] "` + password0 + `"`, "select inbox"})
xappend := fmt.Sprintf("append inbox () {%d+}\r\n%s", len(exampleMsg), exampleMsg)
run([]string{"login [email protected] testtest", "select inbox", xappend})
run([]string{`login [email protected] "` + password0 + `"`, "select inbox", xappend})
})
}

0 comments on commit 11eaa8c

Please sign in to comment.