summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-07-02 08:53:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:09:43 -0500
commit81d590104493d0ff73c8c08d2573dd02dee78981 (patch)
tree00bb3ff6deee54c9bb83543388342b4124933f4d /source4/torture
parent946e1c1b87d0cb88ae63f351c069b60bfcd34426 (diff)
downloadsamba-81d590104493d0ff73c8c08d2573dd02dee78981.tar.gz
samba-81d590104493d0ff73c8c08d2573dd02dee78981.tar.bz2
samba-81d590104493d0ff73c8c08d2573dd02dee78981.zip
r16756: Some machines on the build farms sporadically fail the test
/* Test 21 -- Test removal of file after socket close. */ I think it might be because they are too slow to delete the file. Jeremy, can you check this test does not change semantics in a way you don't want it? Volker (This used to be commit 92aa95f8206364a832bd6ad8cebc030bc001d940)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/basic/delete.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/torture/basic/delete.c b/source4/torture/basic/delete.c
index c7b7fffa18..a220e52438 100644
--- a/source4/torture/basic/delete.c
+++ b/source4/torture/basic/delete.c
@@ -1600,6 +1600,10 @@ static BOOL deltest21(struct smbcli_state **ppcli1, struct smbcli_state **ppcli2
cli1 = *ppcli1;
+ /* On slow build farm machines it might happen that they are not fast
+ * enogh to delete the file for this test */
+ msleep(200);
+
/* File should not be there. */
fnum1 = smbcli_nt_create_full(cli1->tree, fname, 0,
SEC_RIGHTS_FILE_READ,