GODT-1645: Split scenarios for live testing.

This commit is contained in:
Jakub
2022-08-29 17:33:35 +02:00
committed by Romain Le Jeune
parent 73f8811a4b
commit f960a3ae38
6 changed files with 27 additions and 2 deletions

View File

@ -62,7 +62,7 @@ func (ctx *TestContext) LoginUser(username string, password, mailboxPassword []b
ctx.addCleanupChecked(
func() error {
if os.Getenv(EnvName) == EnvLive {
logrus.Warn("Pausing user.Logout by two minutes to not hit issues with too many login attempts.")
logrus.Warn("Pausing user.Logout by 2 minutes to not hit issues with too many login attempts.")
time.Sleep(2 * time.Minute)
}
return user.Logout()