[coldbox 4.0][testbox 2.0] tests fail as part of suite, but pass individually

Two specific tests from the same bundle fail when all the bundles are run together. They pass when the single bundle is run seperately.

Tests pass when its bundle is run seperately.

All these tests are basic sql select queries. I don’t know how to go about debugging this. The debug stream shows a successful response with 0 results.

We would need more data than this

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
P/F: 1-888-557-8057
Direct: (909) 248-3408

ColdBox Platform: http://www.coldbox.org

ContentBox Platform: http://www.gocontentbox.org
Linked In: http://www.linkedin.com/pub/3/731/483

Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano | twitter.com/gocontentbox

Could it be a lock problem?

Not think so as the bundles are separate.

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
P/F: 1-888-557-8057
Direct: (909) 248-3408

ColdBox Platform: http://www.coldbox.org

ContentBox Platform: http://www.gocontentbox.org
Linked In: http://www.linkedin.com/pub/3/731/483

Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano | twitter.com/gocontentbox

`
/**

  • My BDD Test
    */
    component extends=“coldbox.system.testing.BaseTestCase” {

/*********************************** LIFE CYCLE Methods ***********************************/

// executes before all suites+specs in the run() method
function beforeAll(){
// do your own stuff here
// super.setup();

super.beforeAll();
}

// executes after all suites+specs in the run() method
function afterAll(){
super.beforeAll();
// do your own stuff here
}

/*********************************** BDD SUITES ***********************************/

function run(){
describe( title=“Project Search, searchHandler”, body=function(){

describe( “Search or get lists of projects”, function(){
it( “should list atleast 1 project by geolocation(santa ana office)”, function(){
url.lat = 33.6948545;
url.lng = -117.8604357;
var event = execute( event=“project:searchHandler.searchByLatLng”);
// debug( getRequestContext().getRenderData() );
expect( ArrayLen(getRequestContext().getRenderData().DATA.data.PROJECTS) ).toBeGTE(1);
});
it( “should find projects whose project name starts with Riverside”, function(){
url.projecttname = “Riverside”;
url.projectnamelike = 1;
var event = execute( event=“project:searchHandler.searchProjects”);
debug( getRequestContext().getRenderData() );
expect( ArrayLen(getRequestContext().getRenderData().DATA.data) ).toBeGTE(1);
});
it( “should find projects whose project name ends with Riverside with full details”, function(){
url.projecttname = “Riverside”;
url.projectnamelike = 3;
var event = execute( event=“project:searchHandler.searchProjectsFullDetails”);
debug( getRequestContext().getRenderData() );
expect( ArrayLen(getRequestContext().getRenderData().DATA.data) ).toBeGTE(1);
});
});

});
}

}
`

searchHandler.cfc

`
/**