skip languages write test on GAE
This commit is contained in:
2
VERSION
2
VERSION
@@ -1 +1 @@
|
||||
Version 2.9.5-trunk+timestamp.2014.04.02.09.18.42
|
||||
Version 2.9.5-trunk+timestamp.2014.04.07.12.15.01
|
||||
|
||||
@@ -12,6 +12,9 @@ import tempfile
|
||||
import threading
|
||||
import logging
|
||||
|
||||
def is_gae():
|
||||
import httplib
|
||||
return 'appengine' in str(httplib.HTTP)
|
||||
|
||||
def fix_sys_path():
|
||||
"""
|
||||
@@ -73,6 +76,8 @@ try:
|
||||
pass
|
||||
|
||||
def test_reads_and_writes(self):
|
||||
if is_gae():
|
||||
return # do not check since on GAE not write of filesystem
|
||||
readwriters = 10
|
||||
pool = multiprocessing.Pool(processes=readwriters)
|
||||
results = pool.map(read_write, [[self.filename, 10]] * readwriters)
|
||||
|
||||
Reference in New Issue
Block a user