[CDRIVER-3569] /Stepdown tests sometimes fail on Windows Created: 13/Mar/20  Updated: 28/Oct/23  Resolved: 26/Jun/20

Status: Closed
Project: C Driver
Component/s: tests
Affects Version/s: None
Fix Version/s: 1.17.0-rc0, 1.17.0

Type: Bug Priority: Major - P3
Reporter: Kevin Albertson Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: flaky-tests
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

/Stepdown/shutdown_reset_pool fails with logs like:

[2020/03/11 18:24:29.864] + ./src/libmongoc/Debug/test-libmongoc.exe -d -F test-results.json
 [2020/03/11 18:24:29.864] c:\data\mci\55359476409885d27db0070f12d0e27d\mongoc\src\libmongoc\tests\test-mongoc-primary-stepdown.c:352 test_shutdown_reset_pool(): precondition failed: (conn_count + 1) == _connection_count (db)
 

Example

/Stepdown/not_master_keep fails with logs like:

[2020/02/27 17:32:36.603] + ./src/libmongoc/Debug/test-libmongoc.exe -d -F test-results.json
 [2020/02/27 17:32:36.604] c:\data\mci\e9db67939fe18e01e19e2cb42fdf7afb\mongoc\src\libmongoc\tests\test-mongoc-primary-stepdown.c:236 test_not_master_keep_pool(): precondition failed: conn_count == _connection_count (db)
 

Example



 Comments   
Comment by Githook User [ 11/Jul/20 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: CDRIVER-3535 implement streamable ismaster

Comment by Githook User [ 26/Jun/20 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: CDRIVER-3535 implement streamable ismaster

Comment by Kevin Albertson [ 21/May/20 ]

This may be fixed in work of CDRIVER-3535. DRIVERS-1261 led me to find that we're not performing the connection count checks correctly.

Generated at Wed Feb 07 21:18:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.