Edgewall Software

Changes between Initial Version and Version 1 of Ticket #11069, comment 24


Ignore:
Timestamp:
Oct 16, 2013, 1:59:13 AM (11 years ago)
Author:
Ryan J Ollos

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11069, comment 24

    initial v1  
    66> The workaround is [9a7f61af/jomae.git]. The changes are waiting 1 second before `env.config.save()` if the filesystem may be ext3.
    77
    8 I tried out your fix, and I think it's a good solution since it only results in a sleep on low resolution timestamp platforms. I found that it was also necessary to call `wait_for_low_fs_time_resolution` in `_tracadmin`. This seemed to be due to the [browser:/branches/1.0-stable/trac/admin/tests/functional.py@12160:40,44#L19 grant_perm / revoke_perm] calls.
     8I tried out your fix, and I think it's a good solution since it only results in a sleep on low resolution timestamp platforms. I found that it was also necessary to call `wait_for_low_fs_time_resolution` in `_tracadmin`. This seemed to be due to the [browser:/branches/1.0-stable/trac/admin/tests/functional.py@12160:40,44#L19 grant_perm / revoke_perm] calls which lead to a `touch` command.
    99
    1010I also added a minor optimization, so that we only sleep when necessary. This reduced the execution time of `trac.admin.tests.functional` from 45 seconds to 30 seconds on my system. Changes can be found in log:rjollos.git:t11069.3. Let me know what you think.