Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-4154

/Stepdown/not_primary_keep fails on connection count assertion

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      Observed in this patch:

      [2021/09/10 14:51:57.095] Begin /Stepdown/not_primary_keep, seed 1349404910
      [2021/09/10 14:52:08.713] FAIL
      [2021/09/10 14:52:08.713] Assert Failure: 1864 == 1866
      [2021/09/10 14:52:08.713] /data/mci/52ca70da6ae1fd8ac210d814d86c7783/mongoc/src/libmongoc/tests/test-mongoc-primary-stepdown.c:252  test_not_primary_keep_pool()
      [2021/09/10 14:52:08.724] Aborted
      

      where test-mongoc-primary-stepdown.c:252 corresponds to:

      /* Verify that the connection pool has not been cleared */
      ASSERT_CMPINT (conn_count, ==, _connection_count (client, primary_id));
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            ezra.chung@mongodb.com Ezra Chung
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: