Uploaded image for project: 'VS Code Extension'
  1. VS Code Extension
  2. VSCODE-241

VSCode tests are failing

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.5.0
    • Affects Version/s: None
    • Component/s: Testing
    • None
    • Iteration Xylocarpus Granatum
    • Not Needed

      See e.g. https://evergreen.mongodb.com/task/mongosh_linux_test_vscode_0928ec3ba1440accd845e77fbca3a3b634e553bd_21_03_05_09_52_06

      [2021/03/05 10:10:10.478]   1) MDBExtensionController Test Suite
      [2021/03/05 10:10:10.478]        mdb.copyConnectionString command should try to copy the driver url to the vscode env clipboard:
      [2021/03/05 10:10:10.478]      TypeError: Cannot assign to read only property 'writeText' of object '#<Object>'
      [2021/03/05 10:10:10.478]   	at Sandbox.replace (node_modules/sinon/lib/sinon/sandbox.js:243:26)
      [2021/03/05 10:10:10.478]   	at Context.<anonymous> (out/test/suite/mdbExtensionController.test.js:152:25)
      [2021/03/05 10:10:10.478]   	at processImmediate (internal/timers.js:456:21)
      [2021/03/05 10:10:10.478] 
      [2021/03/05 10:10:10.479]   2) MDBExtensionController Test Suite
      [2021/03/05 10:10:10.479]        mdb.copyDatabaseName command should try to copy the database name to the vscode env clipboard:
      [2021/03/05 10:10:10.479]      TypeError: Cannot assign to read only property 'writeText' of object '#<Object>'
      [2021/03/05 10:10:10.479]   	at Sandbox.replace (node_modules/sinon/lib/sinon/sandbox.js:243:26)
      [2021/03/05 10:10:10.479]   	at Context.<anonymous> (out/test/suite/mdbExtensionController.test.js:166:25)
      [2021/03/05 10:10:10.479]   	at processImmediate (internal/timers.js:456:21)
      [2021/03/05 10:10:10.479] 
      [2021/03/05 10:10:10.480]   3) MDBExtensionController Test Suite
      [2021/03/05 10:10:10.480]        mdb.copyCollectionName command should try to copy the collection name to the vscode env clipboard:
      [2021/03/05 10:10:10.480]      TypeError: Cannot assign to read only property 'writeText' of object '#<Object>'
      [2021/03/05 10:10:10.480]   	at Sandbox.replace (node_modules/sinon/lib/sinon/sandbox.js:243:26)
      [2021/03/05 10:10:10.480]   	at Context.<anonymous> (out/test/suite/mdbExtensionController.test.js:181:25)
      [2021/03/05 10:10:10.480]   	at processImmediate (internal/timers.js:456:21)
      [2021/03/05 10:10:10.480] 
      [2021/03/05 10:10:10.480]   4) MDBExtensionController Test Suite
      [2021/03/05 10:10:10.480]        mdb.copySchemaFieldName command should try to copy the field name to the vscode env clipboard:
      [2021/03/05 10:10:10.480]      TypeError: Cannot assign to read only property 'writeText' of object '#<Object>'
      [2021/03/05 10:10:10.480]   	at Sandbox.replace (node_modules/sinon/lib/sinon/sandbox.js:243:26)
      [2021/03/05 10:10:10.480]   	at Suite.<anonymous> (out/test/suite/mdbExtensionController.test.js:198:25)
      [2021/03/05 10:10:10.480]   	at Generator.next (<anonymous>)
      [2021/03/05 10:10:10.480]   	at /tmp/mongosh-vscode-test/vscode/out/test/suite/mdbExtensionController.test.js:27:71
      [2021/03/05 10:10:10.480]   	at new Promise (<anonymous>)
      [2021/03/05 10:10:10.480]   	at __awaiter (out/test/suite/mdbExtensionController.test.js:23:12)
      [2021/03/05 10:10:10.480]   	at Context.<anonymous> (out/test/suite/mdbExtensionController.test.js:190:113)
      [2021/03/05 10:10:10.480]   	at processImmediate (internal/timers.js:456:21)
      

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: