[CSHARP-3294] Fix CreateIndexesOperationTests tests on latests Created: 21/Dec/20  Updated: 28/Oct/23  Resolved: 20/Jan/21

Status: Closed
Project: C# Driver
Component/s: Testing
Affects Version/s: None
Fix Version/s: 2.12.0

Type: Improvement Priority: Major - P3
Reporter: Dmitry Lukyanov (Inactive) Assignee: Dmitry Lukyanov (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

These tests failing https://evergreen.mongodb.com/task_log_raw/dot_net_driver_unsecure_tests__version~latest_os~windows_64_topology~replicaset_auth~noauth_ssl~nossl_test_netstandard15_patch_7fe9df1c92299945e29df968eb89fe10e58c8a23_5fe0b13b0305b91c246d02f4_20_12_21_14_29_16/0?type=T#L1249 in the latests should be investigated



 Comments   
Comment by Githook User [ 20/Jan/21 ]

Author:

{'name': 'DmitryLukyanov', 'email': 'dmitry.lukyanov@mongodb.com', 'username': 'DmitryLukyanov'}

Message: CSHARP-3294: Fix CreateIndexesOperationTests tests on latests.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/f96de59f367a27efbf8ec4fdf83e410e62203ea7

Comment by Dmitry Lukyanov (Inactive) [ 28/Dec/20 ]

https://jira.mongodb.org/browse/SERVER-53528

Comment by Dmitry Lukyanov (Inactive) [ 28/Dec/20 ]

For some reason the latest servers round expireAfterSeconds, so this command:

{
    "createIndexes": "CreateIndexesOperationTests",
    "indexes": [{
            "key": {
                "x": 1
            },
            "name": "x_1",
            "expireAfterSeconds": 1.5
        }
    ]
}

generates this index:

{
    "v": 2,
    "key": {
        "x": 1
    },
    "name": "x_1",
    "expireAfterSeconds": 1
}

so, it's a server change

 

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