I’ve a test for a map-reduce job, it runs successfully but in the output I see a strange error:
Trying to recover from errors in theMapReduceQueue. Try 1
Here is the full test runner output:
Running tests to 'http://environment' on tenant 'mytenant' and tag 'dev' Using username myuser for authentication Authentication token: cannot determine help documentation files from manifest.json c3-tester: client set up in 1.472s done importing (/typesys/1/mytenant/dev/all.json?env=node 4.1s) Executing test: myapp/mytenant/test/jasmine/test_MeasurementCleaningJob.js Started Trying to recover from errors in theMapReduceQueue. Try 1 .... 4 specs, 0 failures Finished in 56.454 seconds
After the tests finish:
- I checked the queues with
InvalidationQueue.countAll()they are all empty.
- I checked the errors with
In my tests I start the job then wait for the queues to drain:
var job = MyMapReduceJob.startJob(); job.setPriority(10); TestApi.waitForSetup(ctx, null, 1, 30);
Any idea why this error show’s up?