mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
SERVER-58355 Re-enable resharding tests failing in multiversion suites due to changing latest releast to 5.1
This commit is contained in:
parent
1f6644feb4
commit
2cb6e665fd
@ -1,8 +1,10 @@
|
||||
/**
|
||||
* TODO SERVER-55912: Remove this tag to re-enable test
|
||||
* @tags: [
|
||||
* disabled_due_to_server_58295
|
||||
* ]
|
||||
*/
|
||||
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
|
@ -823,4 +823,9 @@ var ReshardingTest = class {
|
||||
|
||||
return cloneTimestamp;
|
||||
}
|
||||
|
||||
isMixedVersionCluster() {
|
||||
const clusterVersionInfo = this._st.getClusterVersionInfo();
|
||||
return clusterVersionInfo.isMixedVersion;
|
||||
}
|
||||
};
|
||||
|
@ -9,7 +9,6 @@
|
||||
*
|
||||
* @tags: [
|
||||
* uses_atclustertime,
|
||||
* disabled_due_to_server_58295
|
||||
* ]
|
||||
*/
|
||||
(function() {
|
||||
|
@ -2,7 +2,7 @@
|
||||
* Test to make sure that the abort command interrupts a resharding operation that has not yet
|
||||
* persisted a decision.
|
||||
*
|
||||
* @tags: [uses_atclustertime, disabled_due_to_server_58295]
|
||||
* @tags: [uses_atclustertime]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
|
@ -4,8 +4,7 @@
|
||||
* machine creation. See SERVER-56936 for more details.
|
||||
*
|
||||
* @tags: [
|
||||
* uses_atclustertime,
|
||||
* disabled_due_to_server_58295
|
||||
* uses_atclustertime
|
||||
* ]
|
||||
*/
|
||||
(function() {
|
||||
|
@ -7,7 +7,8 @@
|
||||
// requires_majority_read_concern,
|
||||
// uses_change_streams,
|
||||
// uses_atclustertime,
|
||||
// disabled_due_to_server_58295
|
||||
// requires_fcv_51
|
||||
//
|
||||
// ]
|
||||
(function() {
|
||||
"use strict";
|
||||
|
@ -3,8 +3,7 @@
|
||||
//
|
||||
// @tags: [
|
||||
// requires_majority_read_concern,
|
||||
// uses_atclustertime,
|
||||
// disabled_due_to_server_58295
|
||||
// uses_atclustertime
|
||||
// ]
|
||||
(function() {
|
||||
"use strict";
|
||||
|
@ -3,8 +3,7 @@
|
||||
* recipient.
|
||||
*
|
||||
* @tags: [
|
||||
* uses_atclustertime,
|
||||
* disabled_due_to_server_58295
|
||||
* uses_atclustertime
|
||||
* ]
|
||||
*/
|
||||
(function() {
|
||||
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Test the commitReshardCollection command.
|
||||
*
|
||||
* @tags: [uses_atclustertime, disabled_due_to_server_58295]
|
||||
* @tags: [uses_atclustertime]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
|
@ -2,8 +2,7 @@
|
||||
* Verifies that resharding honors the critical section timeout.
|
||||
*
|
||||
* @tags: [
|
||||
* uses_atclustertime,
|
||||
* disabled_due_to_server_58295
|
||||
* uses_atclustertime
|
||||
* ]
|
||||
*/
|
||||
|
||||
|
@ -3,8 +3,7 @@
|
||||
* recipient.
|
||||
*
|
||||
* @tags: [
|
||||
* uses_atclustertime,
|
||||
* disabled_due_to_server_58295
|
||||
* uses_atclustertime
|
||||
* ]
|
||||
*/
|
||||
(function() {
|
||||
|
@ -3,8 +3,7 @@
|
||||
* responds to statistical increments in an expected way.
|
||||
*
|
||||
* @tags: [
|
||||
* uses_atclustertime,
|
||||
* disabled_due_to_server_58295
|
||||
* uses_atclustertime
|
||||
* ]
|
||||
*/
|
||||
|
||||
@ -126,11 +125,13 @@ const topology = DiscoverTopology.findConnectedNodes(mongos);
|
||||
"oplogEntriesApplied": e.applied,
|
||||
});
|
||||
|
||||
verifyDict(sub.opcounters, {
|
||||
"insert": e.opcounters.insert,
|
||||
"update": e.opcounters.update,
|
||||
"delete": e.opcounters.delete,
|
||||
});
|
||||
if (!reshardingTest.isMixedVersionCluster()) {
|
||||
verifyDict(sub.opcounters, {
|
||||
"insert": e.opcounters.insert,
|
||||
"update": e.opcounters.update,
|
||||
"delete": e.opcounters.delete,
|
||||
});
|
||||
}
|
||||
|
||||
// bytesCopied is harder to pin down but it should be >0.
|
||||
assert.betweenIn(1, sub['bytesCopied'], 1024, 'bytesCopied');
|
||||
|
@ -3,7 +3,7 @@
|
||||
* begins, it will select a cloneTimestamp that is greater than the operation time of those
|
||||
* transactions when they commit.
|
||||
*
|
||||
* @tags: [uses_atclustertime, disabled_due_to_server_58295]
|
||||
* @tags: [uses_atclustertime]
|
||||
*/
|
||||
(function() {
|
||||
"use strict";
|
||||
|
@ -3,8 +3,7 @@
|
||||
* or insert state documents for resharding.
|
||||
*
|
||||
* @tags: [
|
||||
* uses_atclustertime,
|
||||
* disabled_due_to_server_58295
|
||||
* uses_atclustertime
|
||||
* ]
|
||||
*/
|
||||
(function() {
|
||||
|
@ -4,7 +4,7 @@
|
||||
* txnCloners were not started until after waiting for reshardingMinimumOperationDurationMillis to
|
||||
* elapse.
|
||||
*
|
||||
* @tags: [uses_atclustertime, disabled_due_to_server_58295]
|
||||
* @tags: [uses_atclustertime]
|
||||
*/
|
||||
|
||||
(function() {
|
||||
|
@ -3,8 +3,7 @@
|
||||
* shards.
|
||||
*
|
||||
* @tags: [
|
||||
* uses_atclustertime,
|
||||
* disabled_due_to_server_58295
|
||||
* uses_atclustertime
|
||||
* ]
|
||||
*/
|
||||
(function() {
|
||||
|
@ -3,8 +3,7 @@
|
||||
* operation has completed.
|
||||
*
|
||||
* @tags: [
|
||||
* uses_atclustertime,
|
||||
* disabled_due_to_server_58295
|
||||
* uses_atclustertime
|
||||
* ]
|
||||
*/
|
||||
(function() {
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Verifies that the reshardCollection command is run and kept suspended in the "applying" state.
|
||||
*
|
||||
* @tags: [
|
||||
* uses_atclustertime,
|
||||
* uses_atclustertime
|
||||
* ]
|
||||
*/
|
||||
(function() {
|
||||
|
Loading…
Reference in New Issue
Block a user