Skip to content

Conversation

rose-m
Copy link
Contributor

@rose-m rose-m commented Jun 3, 2021

I'll adjust the tests so that the reconfig methods gets the full tests on backoff etc. that are currently on the reconfigPSASet.

@rose-m rose-m self-assigned this Jun 3, 2021
@rose-m rose-m force-pushed the MONGOSH-785-unskip-rs-integration-tests branch from c7edfd7 to 90709c4 Compare June 4, 2021 10:14
@rose-m rose-m changed the title [WIP] fix(shell-api): improve rs.reconfig helper for 5.0 changes MONGOSH-785 fix(shell-api): improve rs.reconfig helper for 5.0 changes MONGOSH-785 Jun 4, 2021
Copy link
Collaborator

@addaleax addaleax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

// Strip -rc.0, -alpha, etc. from the server version because semver rejects those otherwise.
testServerVersion = testServerVersion.replace(/-.*$/, '');
if (semver.satisfies(testServerVersion, semverCondition)) {
if (semver.satisfies(testServerVersion, semverCondition, { includePrerelease: true })) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice :)

@rose-m rose-m merged commit 32d67cd into main Jun 7, 2021
@rose-m rose-m deleted the MONGOSH-785-unskip-rs-integration-tests branch June 7, 2021 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants