File tree Expand file tree Collapse file tree
spec/transactions/unified Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const SKIPPED_TESTS = [
1313 'client bulkWrite with writeConcern in a transaction causes a transaction error'
1414] ;
1515
16- describe . only ( 'Transactions Spec Unified Tests' , function ( ) {
16+ describe ( 'Transactions Spec Unified Tests' , function ( ) {
1717 runUnifiedSuite ( loadSpecTests ( path . join ( 'transactions' , 'unified' ) ) , test => {
1818 return SKIPPED_TESTS . includes ( test . description )
1919 ? 'TODO(NODE-5924): Skipping failing transaction tests'
Original file line number Diff line number Diff line change 412412 "events" : [
413413 {
414414 "commandStartedEvent" : {
415- "command" : {
416- "insert" : " test" ,
417- "documents" : [
418- {
419- "_id" : 2
420- }
421- ],
422- "ordered" : true ,
423- "lsid" : {
424- "$$sessionLsid" : " session0"
425- },
426- "txnNumber" : {
427- "$numberLong" : " 1"
428- },
429- "startTransaction" : true ,
430- "autocommit" : false ,
431- "readConcern" : {
432- "$$exists" : false
433- },
434- "writeConcern" : {
435- "$$exists" : false
436- }
437- },
438- "commandName" : " insert" ,
439- "databaseName" : " transaction-tests"
415+ "commandName" : " insert"
440416 }
441417 },
442418 {
443419 "commandStartedEvent" : {
444- "command" : {
445- "insert" : " test" ,
446- "documents" : [
447- {
448- "_id" : 2
449- }
450- ],
451- "ordered" : true ,
452- "lsid" : {
453- "$$sessionLsid" : " session0"
454- },
455- "txnNumber" : {
456- "$numberLong" : " 1"
457- },
458- "startTransaction" : true ,
459- "autocommit" : false ,
460- "readConcern" : {
461- "$$exists" : false
462- },
463- "writeConcern" : {
464- "$$exists" : false
465- }
466- },
467- "commandName" : " insert" ,
468- "databaseName" : " transaction-tests"
420+ "commandName" : " insert"
469421 }
470422 },
471423 {
472424 "commandStartedEvent" : {
473- "command" : {
474- "lsid" : {
475- "$$sessionLsid" : " session0"
476- },
477- "txnNumber" : {
478- "$numberLong" : " 1"
479- },
480- "startTransaction" : {
481- "$$exists" : false
482- },
483- "autocommit" : false ,
484- "writeConcern" : {
485- "$$exists" : false
486- }
487- },
488- "commandName" : " abortTransaction" ,
489- "databaseName" : " admin"
425+ "commandName" : " abortTransaction"
490426 }
491427 }
492428 ]
Original file line number Diff line number Diff line change @@ -239,54 +239,11 @@ tests:
239239 - client : *client0
240240 events :
241241 - commandStartedEvent :
242- command :
243- insert : test
244- documents :
245- - _id : 2
246- ordered : true
247- lsid :
248- $$sessionLsid : *session0
249- txnNumber :
250- $numberLong : " 1"
251- startTransaction : true
252- autocommit : false
253- readConcern :
254- $$exists : false
255- writeConcern :
256- $$exists : false
257242 commandName : insert
258- databaseName : *database_name
259243 - commandStartedEvent :
260- command :
261- insert : test
262- documents :
263- - _id : 2
264- ordered : true
265- lsid :
266- $$sessionLsid : *session0
267- txnNumber :
268- $numberLong : " 1"
269- startTransaction : true
270- autocommit : false
271- readConcern :
272- $$exists : false
273- writeConcern :
274- $$exists : false
275244 commandName : insert
276- databaseName : *database_name
277245 - commandStartedEvent :
278- command :
279- lsid :
280- $$sessionLsid : *session0
281- txnNumber :
282- $numberLong : " 1"
283- startTransaction :
284- $$exists : false
285- autocommit : false
286- writeConcern :
287- $$exists : false
288246 commandName : abortTransaction
289- databaseName : admin
290247 outcome :
291248 - collectionName : *collection_name
292249 databaseName : *database_name
You can’t perform that action at this time.
0 commit comments