skip languages write test on GAE
This commit is contained in:
@@ -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 threading
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
def is_gae():
|
||||||
|
import httplib
|
||||||
|
return 'appengine' in str(httplib.HTTP)
|
||||||
|
|
||||||
def fix_sys_path():
|
def fix_sys_path():
|
||||||
"""
|
"""
|
||||||
@@ -73,6 +76,8 @@ try:
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
def test_reads_and_writes(self):
|
def test_reads_and_writes(self):
|
||||||
|
if is_gae():
|
||||||
|
return # do not check since on GAE not write of filesystem
|
||||||
readwriters = 10
|
readwriters = 10
|
||||||
pool = multiprocessing.Pool(processes=readwriters)
|
pool = multiprocessing.Pool(processes=readwriters)
|
||||||
results = pool.map(read_write, [[self.filename, 10]] * readwriters)
|
results = pool.map(read_write, [[self.filename, 10]] * readwriters)
|
||||||
|
|||||||
Reference in New Issue
Block a user