Skip to content

Intermittent test failures

On master dddb86f6

Discovered 2 failures running while npm t; do echo "retrying"; done :

1

  1) Element/DetailsPanel.vue
       does not load without an element ID:

      AssertionError: expected 1 to equal +0
      + expected - actual

      -1
      +0
      
      at Context.<anonymous> (dist/webpack:/arkindex/tests/unit/Element/DetailsPanel.spec.js:108:5)

2

1) ingest
       actions
         listBuckets
           lists available s3 buckets:

      AssertionError: expected [ { …(2) }, { …(2) }, { …(2) }, …(18) ] to deeply equal [ …(2) ]
      + expected - actual

       [
         {
      -    "action": "process/getWorkerVersion"
      -    "payload": "version1"
      -  }
      -  {
      -    "mutation": "folderpicker/select"
      -    "payload": [null]
      -  }
      -  {
      -    "mutation": "folderpicker/select"
      -    "payload": [null]
      -  }
      -  {
      -    "mutation": "folderpicker/select"
      -    "payload": [null]
      -  }
      -  {
      -    "mutation": "folderpicker/select"
      -    "payload": [null]
      -  }
      -  {
      -    "mutation": "folderpicker/select"
      -    "payload": [null]
      -  }
      -  {
      -    "mutation": "folderpicker/select"
      -    "payload": [null]
      -  }
      -  {
      -    "mutation": "folderpicker/select"
      -    "payload": [null]
      -  }
      -  {
      -    "mutation": "folderpicker/select"
      -    "payload": [null]
      -  }
      -  {
      -    "mutation": "folderpicker/select"
      -    "payload": [null]
      -  }
      -  {
      -    "mutation": "folderpicker/select"
      -    "payload": [null]
      -  }
      -  {
      -    "mutation": "folderpicker/select"
      -    "payload": [null]
      -  }
      -  {
      -    "mutation": "folderpicker/select"
      -    "payload": [null]
      -  }
      -  {
      -    "mutation": "folderpicker/select"
      -    "payload": [null]
      -  }
      -  {
      -    "mutation": "folderpicker/select"
      -    "payload": [null]
      -  }
      -  {
      -    "action": "corpora/get"
      -    "payload": {
      -      "id": "corpusid"
      -    }
      -  }
      -  {
      -    "action": "corpora/$_fetch"
      -  }
      -  {
      -    "mutation": "notifications/notify"
      -    "payload": {
      -      "text": "Request failed with status code 404"
      -      "type": "error"
      -    }
      -  }
      -  {
      -    "mutation": "notifications/notify"
      -    "payload": {
      -      "text": "An error occurred retrieving version \"version1\": Request failed with status code 404"
      -      "type": "error"
      -    }
      -  }
      -  {
           "action": "ingest/listBuckets"
         }
         {
           "mutation": "ingest/setBuckets"
      
      at Context.<anonymous> (dist/webpack:/arkindex/tests/unit/store/ingest.spec.js:56:9)