On Wed, 13 Mar 2013, Hannes Magnusson wrote:

> > +	echo $e->getMessage(), "\n";
> > +}
> > +
> > +echo "Batch insert with 4 documents: ";
> > +
> > +try {
> > +	$c->batchInsert(array($d, $d, $d, $d));
> > +	echo "it fit!\n";
> > +} catch (Exception $e) {
> > +	echo $e->getMessage(), "\n";
> > +}
> > +?>
> > +--EXPECTF--
> > +This document should be just too large: document fragment is too large: 16777252, max: 16777216
> > +This document should just fit: it fit!
> > +Batch insert with 4 documents: current batch size is 50331681 bytes, max is 48000000
> 
> this fails on current stable mongod

I'm aware of that. But without it, it fails on 2.4... Not quite sure how 
to fix this. And considering that we have other logging tests failing 
too, I don't think it's too much of a problem until we get the new 
testing in shape.