<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/source4/torture/basic, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/'/>
<entry>
<title>s4:torture:basic: eliminate potential for false failures in delayed_write_update1c</title>
<updated>2014-10-03T06:34:06+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2014-10-02T15:15:04+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=ca9e46d1309c08b96a58b4260ff1512020626b12'/>
<id>ca9e46d1309c08b96a58b4260ff1512020626b12</id>
<content type='text'>
We want to test that the write did update the write time immediately.
We check this by getting the file info in a loop for a few seconds.
There are several result cases:

- the server updated the write time immediately - success
- the server updated the write time, but not immediately - failure
- the server did not update the write time - failure

The loop is only there to be able to discern between the two
failure cases. The check for success is whether the first
getinfo has reportet the updated write time.

The potential for false failures was the additional timing check.
So if the first fileinfo call just took too long (e.g. due to a
busy system), this was reported as failure.

This patch should eliminate interemittent autobuild failures.

Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;

Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We want to test that the write did update the write time immediately.
We check this by getting the file info in a loop for a few seconds.
There are several result cases:

- the server updated the write time immediately - success
- the server updated the write time, but not immediately - failure
- the server did not update the write time - failure

The loop is only there to be able to discern between the two
failure cases. The check for success is whether the first
getinfo has reportet the updated write time.

The potential for false failures was the additional timing check.
So if the first fileinfo call just took too long (e.g. due to a
busy system), this was reported as failure.

This patch should eliminate interemittent autobuild failures.

Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;

Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s4:torture:basic: use assert in the second loop in delayed_write_update1b</title>
<updated>2014-10-03T06:34:06+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2014-10-02T15:13:21+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=95d333f03dcd07f62b06ea34f7d1421b4cc913bc'/>
<id>95d333f03dcd07f62b06ea34f7d1421b4cc913bc</id>
<content type='text'>
We can hence replace the assert after the loop by a success torture_comment.

Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We can hence replace the assert after the loop by a success torture_comment.

Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s4:torture:basic: add check for size after initial write in delayed_write_update1c</title>
<updated>2014-10-03T06:34:06+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2014-10-02T15:10:32+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=8d198769d4550f26c7c6efb34316128d1017a18a'/>
<id>8d198769d4550f26c7c6efb34316128d1017a18a</id>
<content type='text'>
Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s4:torture:basic: add update into past as error condition in delayed_write_update1c</title>
<updated>2014-10-03T06:34:06+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2014-10-02T15:09:18+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=874788f4ce8f6d508f2327dfd93de07921d20d05'/>
<id>874788f4ce8f6d508f2327dfd93de07921d20d05</id>
<content type='text'>
Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s4:torture:basic: make use of torture_assert macros in delayed_write_update1c</title>
<updated>2014-10-03T06:34:06+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2014-10-02T15:08:12+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=884f7476785a519772c5f871704159207c19847b'/>
<id>884f7476785a519772c5f871704159207c19847b</id>
<content type='text'>
This does not change the logic except for adding early
returns in failure cases.

Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This does not change the logic except for adding early
returns in failure cases.

Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s4:torture:basic: whitespace cleanup in delayed_write_update1c</title>
<updated>2014-10-03T06:34:06+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2014-10-02T15:02:38+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=641a8a25752d6c0faead3939784a3f665de03645'/>
<id>641a8a25752d6c0faead3939784a3f665de03645</id>
<content type='text'>
no diff with git diff -w

Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
no diff with git diff -w

Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s4:torture:basic: eliminate potential for false failures in delayed_write_update1b</title>
<updated>2014-10-03T06:34:06+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2014-10-02T14:48:40+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=970ae65a9dd9a2d64937b805e7afefef204ee4b4'/>
<id>970ae65a9dd9a2d64937b805e7afefef204ee4b4</id>
<content type='text'>
We want to test that the write did update the write time immediately.
We check this by getting the file info in a loop for a few seconds.
There are several result cases:

- the server updated the write time immediately - success
- the server updated the write time, but not immediately - failure
- the server did not update the write time - failure

The loop is only there to be able to discern between the two
failure cases. The check for success is whether the first
getinfo has reportet the updated write time.

The potential for false failures was the additional timing check.
So if the first fileinfo call just took too long (e.g. due to a
busy system), this was reported as failure.

This patch should eliminate interemittent autobuild failures.

Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;

Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We want to test that the write did update the write time immediately.
We check this by getting the file info in a loop for a few seconds.
There are several result cases:

- the server updated the write time immediately - success
- the server updated the write time, but not immediately - failure
- the server did not update the write time - failure

The loop is only there to be able to discern between the two
failure cases. The check for success is whether the first
getinfo has reportet the updated write time.

The potential for false failures was the additional timing check.
So if the first fileinfo call just took too long (e.g. due to a
busy system), this was reported as failure.

This patch should eliminate interemittent autobuild failures.

Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;

Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s4:torture:basic: use assert in the second loop in delayed_write_update1b</title>
<updated>2014-10-03T06:34:06+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2014-10-02T14:46:18+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=2907950f13506a0ca2160b72824e315772a4424f'/>
<id>2907950f13506a0ca2160b72824e315772a4424f</id>
<content type='text'>
We can hence replace the assert after the loop by a success torture_comment.

Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We can hence replace the assert after the loop by a success torture_comment.

Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s4:torture:basic: add check for size after initial write in delayed_write_update1b</title>
<updated>2014-10-03T06:34:06+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2014-10-02T14:53:26+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=08432cd88f8764eb87545f193f8db4750104bfce'/>
<id>08432cd88f8764eb87545f193f8db4750104bfce</id>
<content type='text'>
Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s4:torture:basic: add update into past as error condition in delayed_write_update1b</title>
<updated>2014-10-03T06:34:06+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2014-10-02T14:44:34+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=339f2fb589a9edcc26125d9cfa43035568a041e3'/>
<id>339f2fb589a9edcc26125d9cfa43035568a041e3</id>
<content type='text'>
Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
