nextcloud/apps/files_sharing
Roeland Jago Douma 8bfa532075
Fix test race condition
E-tag propagation replies on the mtime of the file. Order of events:

1. add file 'foo.txt' with content 'bar'
2. Set mtime to now() - 1
3. Check if etag changed.

Now this goes right often when 1 and 2 happen in the same second.
However imagine

1. add file 'foo.txt' with content 'bar' (at t=0.999)
2. Set mtime to now() - 1 (at t=1.001)

Now the mtime will be set to the same time. Thus not chaning the etag.
2016-05-11 14:07:37 +02:00
..
ajax move federated sharing settings to the federatedfilesharing app 2016-04-22 14:55:40 +02:00
api Unlock before all returns 2016-04-30 11:34:06 +02:00
appinfo Cleanup Files_Sharing CLASSPATH 2016-05-02 16:15:40 +02:00
css move federated sharing settings to the federatedfilesharing app 2016-04-22 14:55:40 +02:00
img move federated sharing settings to the federatedfilesharing app 2016-04-22 14:55:40 +02:00
js move federated sharing settings to the federatedfilesharing app 2016-04-22 14:55:40 +02:00
l10n Yo-ho-oh - Murder all band 'o pirates 2016-05-11 09:16:17 +02:00
lib Cleanup Files_Sharing CLASSPATH 2016-05-02 16:15:40 +02:00
templates move federated sharing settings to the federatedfilesharing app 2016-04-22 14:55:40 +02:00
tests Fix test race condition 2016-05-11 14:07:37 +02:00
list.php Happy new year! 2016-01-12 15:02:18 +01:00
public.php Happy new year! 2016-01-12 15:02:18 +01:00