Skip to content

Local run of integration tests fails instant with "js-controller running" error #488

@Garfonso

Description

@Garfonso

Not sure what is happening... the test directory is not even created:

`
/usr/bin/node /home/achim/development/iobroker/ioBroker.lovelace/node_modules/mocha/bin/mocha --timeout 10000 --exit --ui bdd /home/achim/development/iobroker/ioBroker.lovelace/test/integration.js

Running tests in /tmp/test-iobroker.lovelace

Test the adapter (in a live environment)
1) "before all" hook for "The adapter starts"

0 passing (4ms)
1 failing

  1. Test the adapter (in a live environment)
    "before all" hook for "The adapter starts":
    Error: JS-Controller is already running! Stop it for the first test run and try again!
    at Context. (node_modules/@iobroker/testing/build/tests/integration/index.js:54:23)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

`

Any idea what could cause this issue?

This is on an Arch Linux System. Frankly, tests worked fine on Windows. Hm.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions