Operational Defect Database

BugZero found this defect 44 days ago.

MongoDB | 2634157

Fix persist_sampled_*_queries.js test cases to not share namespaces

Last update date:

4/5/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

The use of some bits of UUID() to compute a unique namespace for each test case can result in multiple test cases actually sharing a common namespace. This contaminates the state under test for a succeeding test case. We can use the entire UUID() or also add a global counter to the collection name to guarantee namespace uniqueness.

Top User Comments


Steps to Reproduce


Additional Resources / Links

Share:

BugZero® Risk Score

What's this?

Coming soon

Status

In Code Review

Learn More

Search:

...