mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 16:33:47 +03:00
make imapserver faster like before again
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.
This commit is contained in:
parent
12e6975aa7
commit
11eaa8cd1a
1 changed files with 3 additions and 3 deletions
|
@ -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 mjl@mox.example testtest"})
|
||||
run([]string{"login mjl@mox.example testtest", "select inbox"})
|
||||
run([]string{`login mjl@mox.example "` + password0 + `"`})
|
||||
run([]string{`login mjl@mox.example "` + password0 + `"`, "select inbox"})
|
||||
xappend := fmt.Sprintf("append inbox () {%d+}\r\n%s", len(exampleMsg), exampleMsg)
|
||||
run([]string{"login mjl@mox.example testtest", "select inbox", xappend})
|
||||
run([]string{`login mjl@mox.example "` + password0 + `"`, "select inbox", xappend})
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue