Commit cab787b
chore(test): Ensure mtime changes
Etags will not be updated if the mtime does not change.
So if the file was overwritten within the same second it was created
the mtime and the etag will remain the same
and the outdated cached content will be distributed.
This problem is specific to our test setup.
Usually one does not update a file multiple times per second.
Adjust the test to ensure the mtime changes.
Signed-off-by: Max <max@nextcloud.com>1 parent 8fc17a5 commit cab787b
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
29 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
30 | 38 | | |
31 | 39 | | |
32 | 40 | | |
33 | 41 | | |
34 | | - | |
35 | 42 | | |
36 | 43 | | |
37 | 44 | | |
| |||
0 commit comments