This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2017年07月28日 13:14 by vstinner, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 2933 | merged | vstinner, 2017年07月28日 15:57 | |
| Messages (3) | |||
|---|---|---|---|
| msg299385 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2017年07月28日 13:14 | |
http://buildbot.python.org/all/builders/AMD64%20Windows8.1%20Non-Debug%203.x/builds/985/steps/test/logs/stdio ====================================================================== FAIL: test_last_modified (test.test_httpservers.SimpleHTTPServerTestCase) Checks that the datetime returned in Last-Modified response header ---------------------------------------------------------------------- Traceback (most recent call last): File "D:\buildarea3円.x.ware-win81-release\build\lib\test\test_httpservers.py", line 512, in test_last_modified self.assertEqual(last_modif_header, self.last_modif_header) AssertionError: 'Fri, 28 Jul 2017 01:20:09 GMT' != 'Fri, 28 Jul 2017 01:20:06 GMT' - 2017年7月28日 01:20:09 GMT ? ^ + 2017年7月28日 01:20:06 GMT ? ^ |
|||
| msg299400 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2017年07月28日 16:00 | |
I can reproduce the failure if I insert time.sleep(1) after os.fstat(). Attached PR should fix the race condition. |
|||
| msg299404 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2017年07月28日 16:15 | |
New changeset 28ce07ae9e34c70eea6b52515c7e00001cefd41e by Victor Stinner in branch 'master': bpo-31066: Fix test_httpservers.test_last_modified() (#2933) https://github.com/python/cpython/commit/28ce07ae9e34c70eea6b52515c7e00001cefd41e |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:49 | admin | set | github: 75249 |
| 2017年07月28日 16:19:12 | vstinner | set | status: open -> closed resolution: fixed stage: resolved |
| 2017年07月28日 16:15:04 | vstinner | set | messages: + msg299404 |
| 2017年07月28日 16:00:16 | vstinner | set | messages: + msg299400 |
| 2017年07月28日 15:57:39 | vstinner | set | pull_requests: + pull_request2985 |
| 2017年07月28日 13:14:47 | vstinner | create | |