You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have started using task queues in play-gae.
And they work on appengine but not in dev.
I think I have spotted the problem. Before pull request #39, it worked.
After pull request #39 we have started to use test classes from the sdk to simulate the local environment.
They aren't intented for this purpose, they mock some parts of the sdk so you can embed them in junit tests.
One of the parts mocked is remote task queues, so they don't work now.
I think we should completely avoid the use of testing classes for the gae module, like LocalDatastoreServiceTestConfig and LocalTaskQueueTestConfig.
It's not the way used by the official google plugin to simulate dev, and will generate a lot of problems. I suggest to go with the previous version, with that datastore and task queues are working fine for me.
The text was updated successfully, but these errors were encountered:
I wrote the code using the test config. Sorry I broke remote task queues! Those are the "standard" task queues that just POST to a url, correct?
I opened up the source to those test config classes and saw it was doing something very similar to what was being done manually and decided it might be best to use that existing infrastructure. I'd like to look into exactly why regular task queues aren't working and if there is a simple change to get them working again.
I have started using task queues in play-gae.
And they work on appengine but not in dev.
I think I have spotted the problem. Before pull request #39, it worked.
After pull request #39 we have started to use test classes from the sdk to simulate the local environment.
They aren't intented for this purpose, they mock some parts of the sdk so you can embed them in junit tests.
One of the parts mocked is remote task queues, so they don't work now.
I think we should completely avoid the use of testing classes for the gae module, like LocalDatastoreServiceTestConfig and LocalTaskQueueTestConfig.
It's not the way used by the official google plugin to simulate dev, and will generate a lot of problems. I suggest to go with the previous version, with that datastore and task queues are working fine for me.
The text was updated successfully, but these errors were encountered: