1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

r3576: don't consider short share delay timeouts to be an error, so we can

run test_posix.sh in a reaonable time by using posix:sharedelay=100000

this still tests correct multiplex behaviour
(This used to be commit 64a6db5b029343f41fc9c3582e0fb051d6c18d39)
This commit is contained in:
Andrew Tridgell 2004-11-06 09:35:56 +00:00 committed by Gerald (Jerry) Carter
parent b5acd1963a
commit 44b5e5a580

View File

@ -80,7 +80,6 @@ static BOOL test_mux_open(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
d = timeval_elapsed(&tv);
if (d < 0.5 || d > 1.5) {
printf("bad timeout for conflict - %.2f should be 1.0\n", d);
ret = False;
} else {
printf("open delay %.2f\n", d);
}
@ -126,7 +125,6 @@ static BOOL test_mux_open(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
d = timeval_elapsed(&tv);
if (d < 0.8) {
printf("bad timeout for async conflict - %.2f should be 1.0\n", d);
ret = False;
}
printf("close the 1st async open\n");