From 81d590104493d0ff73c8c08d2573dd02dee78981 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 2 Jul 2006 08:53:49 +0000 Subject: 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) --- source4/torture/basic/delete.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/torture/basic/delete.c') 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, -- cgit