Brian Gough 10 лет назад
Родитель
Сommit
10932eb4a9

+ 0 - 2
services/track-changes/test/acceptance/coffee/ArchivingUpdatesTests.coffee

@@ -104,10 +104,8 @@ describe "Archiving updates", ->
 		it "should store 1024 doc changes in S3 in one pack", (done) ->
 			db.docHistoryIndex.findOne { _id: ObjectId(@doc_id) }, (error, index) =>
 				throw error if error?
-				console.log "index", index, JSON.stringify(index)
 				pack_id = index.packs[0]._id
 				TrackChangesClient.getS3Doc @project_id, @doc_id, pack_id, (error, doc) =>
-					console.log error, "DOC", doc
 					doc.n.should.equal 1024
 					doc.pack.length.should.equal 1024
 					done()

+ 0 - 1
services/track-changes/test/acceptance/coffee/helpers/TrackChangesClient.coffee

@@ -105,7 +105,6 @@ module.exports = TrackChangesClient =
 		options = TrackChangesClient.buildS3Options(true, project_id+"/changes-"+doc_id+"/pack-"+pack_id)
 		options.encoding = null
 		request.get options, (err, res, body) ->
-			console.log "body", typeof body
 			return callback(error) if error?
 			zlib.gunzip body, (err, result) ->
 				return callback(err) if err?