mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
r8780: make numops controllable in BASE-DISCONNECT
(This used to be commit 1cb91a11d4
)
This commit is contained in:
parent
768585b1dd
commit
0f7f08565c
@ -131,6 +131,7 @@ BOOL torture_disconnect(void)
|
||||
BOOL ret = True;
|
||||
TALLOC_CTX *mem_ctx;
|
||||
int i;
|
||||
extern int torture_numops;
|
||||
|
||||
mem_ctx = talloc_init("torture_raw_mux");
|
||||
|
||||
@ -142,7 +143,7 @@ BOOL torture_disconnect(void)
|
||||
return False;
|
||||
}
|
||||
|
||||
for (i=0;i<100;i++) {
|
||||
for (i=0;i<torture_numops;i++) {
|
||||
ret &= test_disconnect_lock(cli, mem_ctx);
|
||||
if (!torture_open_connection(&cli)) {
|
||||
return False;
|
||||
|
Loading…
Reference in New Issue
Block a user