-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Resyncing Spec Tests, Tests
-
None
This test fails occasionally on Windows due to slow elections:
[2020/07/14 03:15:57.166] FAIL [8.079s]: test_discovery_and_monitoring_integration_rediscover_quickly_after_step_down_Rediscover_quickly_after_replSetStepDown (test_discovery_and_monitoring.TestIntegration) [2020/07/14 03:15:57.166] ---------------------------------------------------------------------- [2020/07/14 03:15:57.166] Traceback (most recent call last): [2020/07/14 03:15:57.166] File "C:\data\mci\8f37470d862335854cadb914a7001191\src\test\__init__.py", line 444, in wrap [2020/07/14 03:15:57.166] return f(*args, **kwargs) [2020/07/14 03:15:57.166] File "C:\data\mci\8f37470d862335854cadb914a7001191\src\test\__init__.py", line 444, in wrap [2020/07/14 03:15:57.166] return f(*args, **kwargs) [2020/07/14 03:15:57.166] File "C:\data\mci\8f37470d862335854cadb914a7001191\src\test\test_discovery_and_monitoring.py", line 411, in run_scenario [2020/07/14 03:15:57.166] self.run_scenario(scenario_def, test) [2020/07/14 03:15:57.166] File "C:\data\mci\8f37470d862335854cadb914a7001191\src\test\utils_spec_runner.py", line 641, in run_scenario [2020/07/14 03:15:57.166] self.run_test_ops(sessions, collection, test) [2020/07/14 03:15:57.166] File "C:\data\mci\8f37470d862335854cadb914a7001191\src\test\utils_spec_runner.py", line 547, in run_test_ops [2020/07/14 03:15:57.166] self.run_operations(sessions, collection, test['operations']) [2020/07/14 03:15:57.166] File "C:\data\mci\8f37470d862335854cadb914a7001191\src\test\utils_spec_runner.py", line 458, in run_operations [2020/07/14 03:15:57.166] self._run_op(sessions, collection, op, in_with_transaction) [2020/07/14 03:15:57.166] File "C:\data\mci\8f37470d862335854cadb914a7001191\src\test\utils_spec_runner.py", line 448, in _run_op [2020/07/14 03:15:57.166] result = self.run_operation(sessions, collection, op.copy()) [2020/07/14 03:15:57.166] File "C:\data\mci\8f37470d862335854cadb914a7001191\src\test\utils_spec_runner.py", line 393, in run_operation [2020/07/14 03:15:57.166] result = cmd(**dict(arguments)) [2020/07/14 03:15:57.166] File "C:\data\mci\8f37470d862335854cadb914a7001191\src\test\test_discovery_and_monitoring.py", line 380, in wait_for_primary_change [2020/07/14 03:15:57.166] wait_until(primary_changed, 'change primary', timeout=timeout) [2020/07/14 03:15:57.166] File "C:\data\mci\8f37470d862335854cadb914a7001191\src\test\utils.py", line 695, in wait_until [2020/07/14 03:15:57.166] raise AssertionError("Didn't ever %s" % success_description) [2020/07/14 03:15:57.167] AssertionError: Didn't ever change primary
This should be fixed by resyncing the spec tests changed in SPEC-1708.
- depends on
-
PYTHON-2294 Increase replSetStepDown timeout and run replSetFreeze to avoid "Unable to acquire X lock" errors
- Closed