Hi,
Is there any way to simulating concurrent access to memcache during
unit testing?
I'm trying to write a wrapper to try to synchronize access to
memcache. However, my test fail miserably because when ever I create a
thread, then inside this thread, almost any interaction with Memcache
API would result in an exception. (I guess it due to GAE constraint
that threads won't be manually created???)

I'm using these components to create the testing env:

LocalDatastoreServiceTestConfig datastoreConfig = new
LocalDatastoreServiceTestConfig();
LocalMemcacheServiceTestConfig memcacheConfig = new
LocalMemcacheServiceTestConfig();
helper = new LocalServiceTestHelper(datastoreConfig, memcacheConfig);

and helper.setUp/helper.tearDown before and after test method.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to