Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-48302

Typo in assert in transactions_snapshot_errors_first_statement.js

    • Fully Compatible
    • ALL
    • Sharding 2020-06-15, Sharding 2020-06-29

      This JS test contains a duplicate assert:

      assert.commandWorked(st.s.adminCommand({moveChunk: ns, find: {_id: 15}, to: st.shard1.shardName}));
      assert.eq(1, st.s.getDB('config').chunks.count({ns: ns, shard: st.shard0.shardName}));
      assert.eq(1, st.s.getDB('config').chunks.count({ns: ns, shard: st.shard0.shardName}));
      

      The second line should probably use shard1.

            Assignee:
            kshitij.gupta@mongodb.com Kshitij Gupta
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: