Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-5226

Flaky: MongoServerError: BSON field 'getMore.getMore' is the wrong type 'double', expected type 'long' [1]

    • Type: Icon: Build Failure Build Failure
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: Flaky Test
    • Labels:
    • Not Needed

      https://evergreen.mongodb.com/task/mongo_node_driver_next_rhel8_no_auth_tests_test_rapid_server_noauth_3b58ca1ec873bab3ed56b2de970f9c513a81c741_23_04_19_17_34_47

         1) Connection
              Connection - functional/cmap
                should support calling back multiple times on exhaust commands:
            Uncaught AssertionError: expected MongoServerError: BSON field 'getMore.getMore' is the wrong type 'double', expected type 'long' { ok: +0, code: 14, codeName: 'TypeMismatch' } to not exist
             at /data/mci/dbab8e43eb3355d3239af9deb5b23367/src/test/integration/connection-monitoring-and-pooling/connection.test.ts:127:41
             at Connection.onMessage (src/cmap/connection.ts:63:17)
             at MessageStream.<anonymous> (src/cmap/connection.ts:3:417)
             at MessageStream.emit (domain.js:475:12)
       
         2) Connection
              Connection - functional/cmap
                should support calling back multiple times on exhaust commands:
             AssertionError: expected [ AssertionError{ message: 'expected MongoServerError: BSON field \'getMore.getMore\' is the wrong type \'double\', expected type \'long\' { ok: +0, code: 14, codeName: \'TypeMismatch\' } to not exist', showDiff: false, actual: MongoServerError: BSON field 'getMore.getMore' is the wrong type 'double', expected type 'long' { ok: +0, code: 14, codeName: 'TypeMismatch' }, expected: undefined, operator: 'notStrictEqual', stack: 'AssertionError: expected MongoServerError: BSON field \'getMore.getMore\' is the wrong type \'double\', expected type \'long\' { ok: +0, code: 14, codeName: \'TypeMismatch\' } to not exist\n    at /data/mci/dbab8e43eb3355d3239af9deb5b23367/src/test/integration/connection-monitoring-and-pooling/connection.test.ts:127:41\n    at Connection.onMessage (src/cmap/connection.ts:63:17)\n    at MessageStream.<anonymous> (src/cmap/connection.ts:3:417)\n    at MessageStream.emit (domain.js:475:12)\n    at processIncomingData (src/cmap/message_stream.ts:60:4)\n    at MessageStream._write (src/cmap/message_stream.ts:7:93)\n    at writeOrBuffer (internal/streams/writable.js:358:12)\n    at MessageStream.Writable.write (internal/streams/writable.js:303:10)\n    at Socket.ondata (internal/streams/readable.js:731:22)\n    at Socket.emit (domain.js:475:12)\n    at addChunk (internal/streams/readable.js:293:12)\n    at readableAddChunk (internal/streams/readable.js:267:9)\n    at Socket.Readable.push (internal/streams/readable.js:206:10)\n    at TCP.onStreamRead (internal/stream_base_commons.js:188:23)', uncaught: true } ] to have a length of +0 but got 1
             + expected - actual
             -1
             +0
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            neal.beeken@mongodb.com Neal Beeken
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: