Operational Defect Database

BugZero found this defect 38 days ago.

MongoDB | 2638629

Fix the "running under stepdown" checks performed by some JS tests

Last update date:

4/11/2024

Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:

No fixed releases provided.

Description:

Info

A few sharding js tests (such as merge_all_chunks_on_shard.js have to skip or alter the execution of specific test cases based on whether the logic is running under a suite with periodic CSRS stepdown events in background. The traditional way to do this was to check for the existence of the ContinuousStepdown class created by the override method, but after SERVER-79182, this is no more visible from a js test (unless the symbol gets explicitly imported). Existing checks should hence be adapted to the introduction of ES modules into the code base.

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:

...