Skip to content

Test fails if split in two files #1

@StefanoSperetta

Description

@StefanoSperetta

The ResetService test (https://github.com/DelfiSpace/DelfiPQ-PythonTestScripts/blob/UnitTestFramework/Generic/test_ResetService.py) fails consistently if executed after the PingService (https://github.com/DelfiSpace/DelfiPQ-PythonTestScripts/blob/UnitTestFramework/Generic/test_PingService.py). If, instead the two tests are bundled in the same file and executed one after the other (https://github.com/DelfiSpace/DelfiPQ-PythonTestScripts/blob/UnitTestFramework/ADCS/test_ADCS.py).

By looking at the output HTML, it seems the connection to PQ9EGSE is re-established per each test file (despite the fixture is "session") and it also seems the EGSE is not outputting any command on the bus just after the ResetService test starts. After about 5sec a housekeeping request is sent on the bus (and a response is received immediately) but anyway the tests fails (timeout).

@CasperBroekhuizen any idea?

Metadata

Metadata

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