summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2015-12-21 11:30:31 -0500
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2016-01-13 14:41:25 -0500
commit38196fe4849af1aa9f337058a31aed72c57aa8a8 (patch)
tree0a6be4ad087efd82cec35135bb1b496b82b32c32 /buildscripts
parentb2820de69b15c120c04406aa1448cbc0aa3fde66 (diff)
downloadmongo-38196fe4849af1aa9f337058a31aed72c57aa8a8.tar.gz
SERVER-21050 Continuous config server primary step down
This change adds a continuous primary stepdown capability to the ReplicaSetTest and hooks it into ShardingTest.
Diffstat (limited to 'buildscripts')
-rw-r--r--buildscripts/resmokeconfig/suites/sharding_continuous_config_stepdown.yml92
1 files changed, 92 insertions, 0 deletions
diff --git a/buildscripts/resmokeconfig/suites/sharding_continuous_config_stepdown.yml b/buildscripts/resmokeconfig/suites/sharding_continuous_config_stepdown.yml
new file mode 100644
index 00000000000..921e8dc5186
--- /dev/null
+++ b/buildscripts/resmokeconfig/suites/sharding_continuous_config_stepdown.yml
@@ -0,0 +1,92 @@
+selector:
+ js_test:
+ roots:
+ - jstests/sharding/*.js
+ - jstests/sharding/replset_config/*.js
+ exclude_files:
+ # SERVER-20694
+ - jstests/sharding/csrs_upgrade.js
+ # Test is flaky - SERVER-20580
+ - jstests/sharding/csrs_upgrade_during_migrate.js
+ # Auth tests require authentication on the stepdown thread's connection
+ - jstests/sharding/auth*.js
+ - jstests/sharding/cleanup_orphaned_auth.js
+ - jstests/sharding/localhostAuthBypass.js
+ - jstests/sharding/mongos_rs_auth_shard_failure_tolerance.js
+ - jstests/sharding/mrShardedOutputAuth.js
+ # Count/write/aggregate/group commands against the config shard do not support retries yet
+ - jstests/sharding/addshard1.js
+ - jstests/sharding/addshard2.js
+ - jstests/sharding/auto1.js
+ - jstests/sharding/auto_rebalance.js
+ - jstests/sharding/autosplit_heuristics.js
+ - jstests/sharding/balance_tags1.js
+ - jstests/sharding/balance_tags2.js
+ - jstests/sharding/basic_drop_coll.js
+ - jstests/sharding/bulk_shard_insert.js
+ - jstests/sharding/count1.js
+ - jstests/sharding/count2.js
+ - jstests/sharding/cursor1.js
+ - jstests/sharding/diffservers1.js
+ - jstests/sharding/disable_autosplit.js
+ - jstests/sharding/drop_sharded_db.js
+ - jstests/sharding/fair_balancer_round.js
+ - jstests/sharding/findandmodify1.js
+ - jstests/sharding/findandmodify2.js
+ - jstests/sharding/geo_shardedgeonear.js
+ - jstests/sharding/hash_basic.js
+ - jstests/sharding/hash_shard1.js
+ - jstests/sharding/hash_shard_non_empty.js
+ - jstests/sharding/hash_shard_num_chunks.js
+ - jstests/sharding/hash_single_shard.js
+ - jstests/sharding/key_many.js
+ - jstests/sharding/key_string.js
+ - jstests/sharding/large_chunk.js
+ - jstests/sharding/limit_push.js
+ - jstests/sharding/merge_chunks_basic.js
+ - jstests/sharding/migrateBig_balancer.js
+ - jstests/sharding/move_chunk_basic.js
+ - jstests/sharding/movePrimary1.js
+ - jstests/sharding/mrShardedOutput.js
+ - jstests/sharding/names.js
+ - jstests/sharding/prefix_shard_key.js
+ - jstests/sharding/presplit.js
+ - jstests/sharding/query_config.js
+ - jstests/sharding/remove1.js
+ - jstests/sharding/rename_across_mongos.js
+ - jstests/sharding/shard1.js
+ - jstests/sharding/shard2.js
+ - jstests/sharding/shard3.js
+ - jstests/sharding/shard_collection_basic.js
+ - jstests/sharding/sharding_balance1.js
+ - jstests/sharding/sharding_balance2.js
+ - jstests/sharding/sharding_balance3.js
+ - jstests/sharding/sharding_balance4.js
+ - jstests/sharding/sharding_migrate_cursor1.js
+ - jstests/sharding/tag_auto_split.js
+ - jstests/sharding/tag_range.js
+ - jstests/sharding/top_chunk_autosplit.js
+ - jstests/sharding/count_config_servers.js
+ # Awaits replication directly against the config server primary
+ - jstests/sharding/moveprimary_ignore_sharded.js
+ # Runs setShardVersion/getShardVersion against the config server and we don't support retries
+ # for this command
+ - jstests/sharding/major_version_check.js
+ - jstests/sharding/replset_config/ssv_config_check.js
+ # Already stop or blackholes the primary of the CSRS config shard
+ - jstests/sharding/all_config_hosts_down.js
+ - jstests/sharding/all_config_servers_blackholed_from_mongos.js
+ - jstests/sharding/replset_config/batch_write_command_sharded.js
+ - jstests/sharding/replset_config/config_rs_no_primary.js
+ - jstests/sharding/startup_with_all_configs_down.js
+ # Test runs really slow with the primary continuously stepping down
+ - jstests/sharding/zbigMapReduce.js
+ # Unknown balancer errors - need to be investigated
+ - jstests/sharding/in_memory_sort_limit.js
+executor:
+ js_test:
+ config:
+ shell_options:
+ eval: "load('jstests/libs/override_methods/sharding_continuous_config_stepdown.js');"
+ nodb: ''
+ readMode: commands