diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-07-02 08:53:49 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2006-07-02 08:53:49 +0000 |
commit | 6bd6662085817a201d2ccd9e6e60af7980261059 (patch) | |
tree | 7ed0b5de156d19076c4ceeb0ab595fd2aae84b43 | |
parent | 7d368b7af3c18c96ee6c5214af22a64fd67d6e76 (diff) | |
download | samba-6bd6662085817a201d2ccd9e6e60af7980261059.tar.gz samba-6bd6662085817a201d2ccd9e6e60af7980261059.tar.xz samba-6bd6662085817a201d2ccd9e6e60af7980261059.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
-rw-r--r-- | source/torture/basic/delete.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/torture/basic/delete.c b/source/torture/basic/delete.c index c7b7fffa18a..a220e524388 100644 --- a/source/torture/basic/delete.c +++ b/source/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, |