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

Command in ban_from_views.js test can succeed when it's supposed to fail

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • ALL
    • 3

      In the change_streams_secondary_reads test suite, the ban_from_views.js may fail due to a command that it expects to fail succeeding. The failure is only triggered when artificial replication lag is induced (by adding a sleep before this line, for example).

      After adding the artifical repl lag, I was able to reproduce this consistently with the following resmoke invocation:

      python buildscripts/resmoke.py --repeatTests=8 --basePort=35000 -j8 --suite=change_streams_secondary_reads jstests/change_streams/ban_from_views.js
      

            Assignee:
            bernard.gorman@mongodb.com Bernard Gorman
            Reporter:
            william.schultz@mongodb.com William Schultz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: