Skip to content

Commit ad8ce89

Browse files
committed
DEVEXP-452 : Update test-basic tests to remove logs from test-complete results
1 parent 0cb391c commit ad8ce89

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

test-complete/nodejs-logger-bunyan.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,29 +13,14 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
var should = require('should');
17-
var bunyan = require('bunyan');
18-
1916
var testconfig = require('../etc/test-config-qa.js');
20-
var fs = require('fs');
21-
2217
var marklogic = require('../');
23-
24-
var db = marklogic.createDatabaseClient(testconfig.restReaderConnection);
25-
var dbWriter = marklogic.createDatabaseClient(testconfig.restWriterConnection);
26-
var dbEval = marklogic.createDatabaseClient(testconfig.restEvaluatorConnection);
2718
var dbAdmin = marklogic.createDatabaseClient(testconfig.restAdminConnection);
2819

2920
describe('Bunyan logger test', function(){
3021

31-
var logger = bunyan.createLogger({name: 'testlog', level: 'debug'});
32-
dbAdmin.setLogger(logger, true);
33-
3422
it('should read the bunyan logger', function(done){
3523
dbAdmin.config.serverprops.read().result(function(response) {
36-
//var log = JSON.stringify(response);
37-
//console.log(log);
38-
//log.should.containEql('testlog');
3924
done();
4025
}, done);
4126
});

0 commit comments

Comments
 (0)