Author: vlendec Date: 2006-07-02 08:53:49 +0000 (Sun, 02 Jul 2006) New Revision: 16756
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16756 Log: 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 Modified: branches/SAMBA_4_0/source/torture/basic/delete.c Changeset: Modified: branches/SAMBA_4_0/source/torture/basic/delete.c =================================================================== --- branches/SAMBA_4_0/source/torture/basic/delete.c 2006-07-01 23:59:32 UTC (rev 16755) +++ branches/SAMBA_4_0/source/torture/basic/delete.c 2006-07-02 08:53:49 UTC (rev 16756) @@ -1600,6 +1600,10 @@ 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,
