increase test stack size to 128K (on some platforms min size is greater then 32K), closes gh-2597

pull/2605/head
sebres 2020-01-14 11:51:27 +01:00
parent 70e47c9621
commit 8694c54728
1 changed files with 2 additions and 2 deletions

View File

@ -469,14 +469,14 @@ class Fail2banClientServerBase(LogCaptureTestCase):
@with_foreground_server_thread(startextra={'f2b_local':(
"[Thread]",
"stacksize = 32"
"stacksize = 128"
"",
)})
def testStartForeground(self, tmp, startparams):
# check thread options were set:
self.pruneLog()
self.execCmd(SUCCESS, startparams, "get", "thread")
self.assertLogged("{'stacksize': 32}")
self.assertLogged("{'stacksize': 128}")
# several commands to server:
self.execCmd(SUCCESS, startparams, "ping")
self.execCmd(FAILED, startparams, "~~unknown~cmd~failed~~")