Skip to content

CI - Flaky test in test/integration/hat-threads-run-every-frame.js #1201

Open
@rschamp

Description

@rschamp

Travis unexpectedly failed on this job: https://travis-ci.org/LLK/scratch-vm/jobs/388263078

not ok 10 - ./test/integration/hat-threads-run-every-frame.js # time=3671.314ms
  ---
  timeout: 240000
  file: ./test/integration/hat-threads-run-every-frame.js
  command: /home/travis/.nvm/versions/node/v10.3.0/bin/node
  args:
    - ./test/integration/hat-threads-run-every-frame.js
  stdio:
    - 0
    - pipe
    - 2
  cwd: /home/travis/build/LLK/scratch-vm
  exitCode: 1
  ...
{
    # Subtest: edge activated hat thread runs once every frame
        ok 1 - expected to not throw
    vm error No rendering module present; cannot load costume:  backdrop1
    vm error No audio engine present; cannot load sound asset:  83a9787d4cb6f3b7632b4ddfebf74367.wav
        ok 2 - should be equal
        ok 3 - should be equal
        ok 4 - should be equal
        ok 5 - should be equal
        ok 6 - expect truthy value
        not ok 7 - expect truthy value
          ---
          at:
            line: 50
            column: 15
            file: test/integration/hat-threads-run-every-frame.js
            type: global
            function: vm.loadProject.then
          stack: |
            vm.loadProject.then (test/integration/hat-threads-run-every-frame.js:50:15)
          source: |
            t.assert(vm.runtime.threads[0].status === Thread.STATUS_DONE);
          ...
        
        ok 8 - should be equal
        ok 9 - should be equal
        ok 10 - should be equal
        ok 11 - expect truthy value
        ok 12 - expect truthy value
        1..12
        # failed 1 of 12 tests
    not ok 1 - edge activated hat thread runs once every frame # time=256.284ms

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions