[SERVER-21885] capped_truncate.js cannot be run with --repeat Created: 14/Dec/15  Updated: 16/Nov/16  Resolved: 14/Dec/15

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: 3.2.0
Fix Version/s: 3.2.1, 3.3.0

Type: Bug Priority: Major - P3
Reporter: Charlie Swanson Assignee: Kamran K.
Resolution: Done Votes: 0
Labels: test-only
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Completed:
Steps To Reproduce:

run the following:

python buildscripts/resmoke.py --executor=no_passthrough_with_mongod --repeat=2 jstests/noPassthroughWithMongod/capped_truncate.js

Sprint: TIG E (01/08/16)
Participants:

 Description   

It creates a collection here without dropping it first, so this command fails the second time the test is run.



 Comments   
Comment by Githook User [ 14/Dec/15 ]

Author:

{u'username': u'kkmongo', u'name': u'Kamran Khan', u'email': u'kamran.khan@mongodb.com'}

Message: SERVER-21885 Make capped_truncate.js work with resmoke.py --repeat

Previously, the test assumed that a collection would not exist prior
to calling 'create' on it. The collection is now dropped beforehand
to ensure this condition is true.

(cherry picked from commit 30d55cccf89160749c401e19fdc9872e24b01ef2)
Branch: v3.2
https://github.com/mongodb/mongo/commit/ecbc309ccb22b18b96e136e2622b8f560e977bfd

Comment by Githook User [ 14/Dec/15 ]

Author:

{u'username': u'kkmongo', u'name': u'Kamran Khan', u'email': u'kamran.khan@mongodb.com'}

Message: SERVER-21885 Make capped_truncate.js work with resmoke.py --repeat

Previously, the test assumed that a collection would not exist prior
to calling 'create' on it. The collection is now dropped beforehand
to ensure this condition is true.
Branch: master
https://github.com/mongodb/mongo/commit/30d55cccf89160749c401e19fdc9872e24b01ef2

Generated at Thu Feb 08 03:58:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.