De-flake atlas-service signin test

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.45.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • Developer Tools

      Failed CI run

       

      [2025/01/16 04:48:07.000] @mongodb-js/atlas-service:   1) atlasSignInReducer
      [2025/01/16 04:48:07.000] @mongodb-js/atlas-service:        "after each" hook in "atlasSignInReducer":
      [2025/01/16 04:48:07.000] @mongodb-js/atlas-service:      Error: done() called multiple times in hook <atlasSignInReducer "after each" hook in "atlasSignInReducer"> of file /Users/ec2-user/data/mci/1df70badbb96aa36b82d6466864ccef6/src/packages/atlas-service/src/store/atlas-signin-reducer.spec.ts; in addition, done() received error: TypeError: atlasAuthService.signIn is not a function
      [2025/01/16 04:48:07.000] @mongodb-js/atlas-service:     at /Users/ec2-user/data/mci/1df70badbb96aa36b82d6466864ccef6/src/packages/atlas-service/src/store/atlas-signin-reducer.ts:3524:43 {
      [2025/01/16 04:48:07.000] @mongodb-js/atlas-service:   uncaught: true
      [2025/01/16 04:48:07.000] @mongodb-js/atlas-service: }
      [2025/01/16 04:48:07.000] @mongodb-js/atlas-service:       at process.emit (node:events:531:35)
      [2025/01/16 04:48:07.000] @mongodb-js/atlas-service:       at processEmit (/Users/ec2-user/data/mci/1df70badbb96aa36b82d6466864ccef6/src/node_modules/signal-exit/index.js:199:34)
      [2025/01/16 04:48:07.000] @mongodb-js/atlas-service:       at process.emit.sharedData.processEmitHook.installedValue [as emit] (/Users/ec2-user/data/mci/1df70badbb96aa36b82d6466864ccef6/src/node_modules/@cspotcode/source-map-support/source-map-support.js:745:40)
      [2025/01/16 04:48:07.000] @mongodb-js/atlas-service:       at process._fatalException (node:internal/process/execution:188:25)
      [2025/01/16 04:48:07.000] @mongodb-js/atlas-service: 
      [2025/01/16 04:48:07.014] @mongodb-js/atlas-service: npm ERR! Lifecycle script `test` failed with error:
      [2025/01/16 04:48:07.014] @mongodb-js/atlas-service: npm ERR! Error: command failed
      [2025/01/16 04:48:07.014] @mongodb-js/atlas-service: npm ERR!   in workspace: @mongodb-js/atlas-service@0.34.1
      [2025/01/16 04:48:07.014] @mongodb-js/atlas-service: npm ERR!   at location: /Users/ec2-user/data/mci/1df70badbb96aa36b82d6466864ccef6/src/packages/atlas-service
      [2025/01/16 04:48:07.064] @mongodb-js/atlas-service: npm ERR! Lifecycle script `test-cov` failed with error:
      [2025/01/16 04:48:07.064] @mongodb-js/atlas-service: npm ERR! Error: command failed
      [2025/01/16 04:48:07.064] @mongodb-js/atlas-service: npm ERR!   in workspace: @mongodb-js/atlas-service@0.34.1
      [2025/01/16 04:48:07.065] @mongodb-js/atlas-service: npm ERR!   at location: /Users/ec2-user/data/mci/1df70badbb96aa36b82d6466864ccef6/src/packages/atlas-service
      [2025/01/16 04:48:07.068] @mongodb-js/atlas-service: npm ERR! Lifecycle script `test-ci` failed with error:
      [2025/01/16 04:48:07.068] @mongodb-js/atlas-service: npm ERR! Error: command failed
      [2025/01/16 04:48:07.068] @mongodb-js/atlas-service: npm ERR!   in workspace: @mongodb-js/atlas-service@0.34.1
      [2025/01/16 04:48:07.068] @mongodb-js/atlas-service: npm ERR!   at location: /Users/ec2-user/data/mci/1df70badbb96aa36b82d6466864ccef6/src/packages/atlas-service
      
       

       

       

              Assignee:
              Basit Chonka
              Reporter:
              Basit Chonka
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: