So basically any test involving datastore access (which means every
single test case I have) will not be able to run using Cloud Cover
until the namespace feature is available? Have I understood this
correctly? Do you have any information on when this will be available?

Thanks,
Stefan

On Jul 14, 9:23 am, "Max Ross (Google)" <[email protected]>
wrote:
> Thanks for trying CloudCover!  Unfortunately CloudCover's support for
> datastore tests rely on an App Engine feature called "Namespaces" that is
> not yet available to all apps.  This feature should be widely available
> soon, at which point your error message will go away.
>
> Sorry for the trouble,
> Max
>
> On Sat, Jul 10, 2010 at 12:26 PM, luijar <[email protected]> wrote:
> > I have not been able to successfully run any tests that involve
> > datastore access: I am seeing the following:
>
> > Application (nepal-dev), attempting to use namespace (1002_877806974),
> > is not permitted to use datastore namespaces.
> > java.lang.IllegalArgumentException: Application (nepal-dev),
> > attempting to use namespace (1002_877806974), is not permitted to use
> > datastore namespaces.
> >     at
>
> > com.google.appengine.api.datastore.DatastoreApiHelper.translateError(DatastoreApiHelper.java:
> > 34)
> >     at
>
> > com.google.appengine.api.datastore.DatastoreApiHelper.makeSyncCall(DatastoreApiHelper.java:
> > 67)
> >     at com.google.appengine.api.datastore.DatastoreServiceImpl
> > $2.run(DatastoreServiceImpl.java:188)
> >     at
>
> > com.google.appengine.api.datastore.TransactionRunner.runInTransaction(TransactionRunner.java:
> > 30)
> >     at
>
> > com.google.appengine.api.datastore.DatastoreServiceImpl.put(DatastoreServiceImpl.java:
> > 176)
> >     at
>
> > com.google.appengine.api.datastore.DatastoreServiceImpl.put(DatastoreServiceImpl.java:
> > 156)
> >     at
>
> > com.google.appengine.api.datastore.DatastoreServiceImpl.put(DatastoreServiceImpl.java:
> > 148)
> >     at
>
> > com.citrix.ws.nepal.gaetest.GAEUserTest.testCreateAndReadUser(GAEUserTest.java:
> > 37)
>
> > Any thoughts???
>
> > On Jul 1, 1:13 pm, luijar <[email protected]> wrote:
> > > Not sure what the problem is, all my queries are failing with this
> > > message:
>
> > > Illegal argument
> > > javax.jdo.JDOFatalUserException: Illegal argument at
>
> > org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(Nuc
> > leusJDOHelper.java:
> > > 344) at org.datanucleus.jdo.JDOQuery.execute(JDOQuery.java:252) at
>
> > > Environment: SDK 1.3.4
> > > JUnit = 4
>
> > > Is there a code sample we can use as reference?, with all of the
> > > required JAR files?. I haven't been able to run a single test that
> > > requires accessing datastore.
>
> > > On Jun 30, 5:58 pm, luijar <[email protected]> wrote:
>
> > > > I am seeing this however,
>
> > > > Executing a simple query:
>
> > > > Illegal argument
> > > > javax.jdo.JDOFatalUserException: Illegal argument at
>
> > org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(Nuc
> > leusJDOHelper.java:
> > > > 344) at org.datanucleus.jdo.JDOQuery.execute(JDOQuery.java:252) at
>
> > > > This query works when the actual application is running, and it works
> > > > in the Local testing Helper, but not with the
> > > > CloudCoverLocalServiceTestHelper. Is there a specific version of App
> > > > Engine I should be using? I am using 1.3.2.
>
> > > > On Jun 12, 11:57 pm, "Max Ross (Google)" 
> > > > <[email protected]<maxr%[email protected]>
>
> > > > wrote:
>
> > > > > This most likely means that your tests aren't available as part of
> > your
> > > > > application.  Are you certain you uploaded them?
>
> > > > > On Fri, Jun 11, 2010 at 11:31 PM, Art <[email protected]> wrote:
> > > > > > Dear group,
>
> > > > > > I would like to know how to make CloudCover (
> >http://code.google.com/p/
> > > > > > cloudcover/) work.
>
> > > > > > At cloudcover.html, even I clicked on the "Start New Run" button,
> > the
> > > > > > (default) test won't be executed.
> > > > > > The cloudcover.html showed like:
> > > > > > Run 1001: NOT_STARTED, Completed 0/0 (0%)
> > > > > > Passed: 0 Too Slow: 0 Failed: 0 In Progress: 0 Not Started: 0
>
> > com.google.appengine.testing.cloudcover.harness.junit3.JUnit3TestHarness
> > > > > > (0)
>
> > > > > > I found the following logs in the GAE/J logs:
> > > > > > W 06-11 10:45PM 49.387
> > > > > > com.google.appengine.testing.cloudcover.harness.junitx.JUnitTestRun
> > > > > > getTestIds: 1001: Cannot schedule instance of class
> > > > > > com.appspot.waversbeach.server.MemcacheTest for execution because
> > its
> > > > > > String represenation,
> > > > > > testInsert1(com.appspot.waversbeach.server.MemcacheTest), is not an
> > > > > > available class.
>
> > > > > > W 06-11 10:45PM 49.395
> > > > > > com.google.appengine.testing.cloudcover.harness.junitx.JUnitTestRun
> > > > > > getTestIds: 1001: Cannot schedule instance of class
> > > > > > com.appspot.waversbeach.server.MemcacheTest for execution because
> > its
> > > > > > String represenation,
> > > > > > testInsert2(com.appspot.waversbeach.server.MemcacheTest), is not an
> > > > > > available class.
>
> > > > > > MemcacheTest class is a really simple test class just for the trial
> > > > > > purpose with CloudCover:
> > > > > > public class MemcacheTest extends TestCase {
> > > > > >        public MemcacheTest( String name) {
> > > > > >                super( name);
> > > > > >        }
>
> > > > > >        protected static Cache cache = null;
>
> > > > > >       �...@override
> > > > > >        protected void setUp() throws Exception {
> > > > > >                if ( cache == null) {
> > > > > >                        CacheFactory cacheFactory =
> > > > > > CacheManager.getInstance().getCacheFactory();
> > > > > >                        cache = cacheFactory.createCache(
> > > > > > Collections.emptyMap());
> > > > > >                }
> > > > > >        }
>
> > > > > >       �...@override
> > > > > >        protected void tearDown() throws Exception {
> > > > > >                cache.clear();
> > > > > >        }
>
> > > > > >        private void doTest() {
> > > > > >                assertFalse( cache.containsKey( "yar"));
> > > > > >                cache.put( "yar", "foo");
> > > > > >                assertTrue( cache.containsKey( "yar"));
> > > > > >        }
>
> > > > > >        public void testInsert1() {
> > > > > >                doTest();
> > > > > >        }
>
> > > > > >        public void testInsert2() {
> > > > > >                doTest();
> > > > > >        }
>
> > > > > > }
>
> > > > > > My JUnit3Config class is like:
> > > > > > public class CloudCoverRunnerConfig extends JUnit3Config {
>
> > > > > >       �...@override
> > > > > >        public TestRun newTestRun( String arg0) {
> > > > > >                TestSuite suite = new TestSuite();
> > > > > >                suite.addTest( new MemcacheTest( "testInsert1"));
> > > > > >                suite.addTest( new MemcacheTest( "testInsert2"));
> > > > > >                return new JUnit3TestRun( suite);
> > > > > >        }
> > > > > > }
>
> > > > > > I'm thinking of giving the CloudCover a shot for Wave robot testing
> > if
> > > > > > it's possible, since I have read in one of Wave docs that there is
> > no
> > > > > > existing mechanism currently to test Wave robot on local machine.
>
> > > > > > Thank you
>
> > > > > > --
> > > > > > 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]<google-appengine-java%[email protected]><google-appengine-java%2B
> > [email protected]>
> > > > > > .
> > > > > > For more options, visit this group at
> > > > > >http://groups.google.com/group/google-appengine-java?hl=en.
>
> > --
> > 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]<google-appengine-java%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine-java?hl=en.
>
>

-- 
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