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

XMLWordPrintableJSON

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

      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
            Reporter:
            Will Schultz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: