List<ContentletSearch> contentletSearchResults;
int x = 0;
do {
Thread.sleep( 200 );
//Verify if it was added to the index
contentletSearchResults = contentletAPI.searchIndex( "+structureName:" + structure1.getVelocityVarName() + " +working:true +deleted:false +" + structure1.getVelocityVarName() + ".title:Test1 +languageId:1", 0, -1, null, user, true );
x++;
} while ( (contentletSearchResults == null || contentletSearchResults.isEmpty()) && x < 100 );
//Create the csv file to import
reader = createTempFile( "Title, Host" + "\r\n" +