Skip to content

[Tests] Tests fail when a warning is given #960

@akshaynexus

Description

@akshaynexus

Describe the issue

All tests in test_runner.py fail when there is a warning on starting daemon.

Can you reliably reproduce the issue?

Yes

If so, please list the steps to reproduce below:

1.Add a initwarning to init.cpp,see #956
2.wait for travis builds to finish and tests to finish.

Expected behavior

It should pass all tests.

Actual behavior

Tell us what happens instead
All tests fail,even though at the end it shows test successful.

Any extra information that might be useful in the debugging process.

It seems like the test_runner takes warnings as a error,and outputs it at stderror,fixing that should fix the tests from failing.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions