Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test misorganization in heirarchical logs #254

Open
fitzymj opened this issue Aug 9, 2021 · 0 comments
Open

test misorganization in heirarchical logs #254

fitzymj opened this issue Aug 9, 2021 · 0 comments

Comments

@fitzymj
Copy link

fitzymj commented Aug 9, 2021

I run some Python unit tests as part of a larger build, and I just started using the TeamcityTestRunner from this package, as so:

        runner_class = TeamcityTestRunner if is_running_under_teamcity() else unittest.TextTestRunner
        runner = runner_class(stream=sys.stdout, verbosity=2)
        result = runner.run(unittest.defaultTestLoader.discover("igpy", pattern="*.py"))

In the heirarchical log view, this causes them to get hoisted up out of my normal set of message blocks and into the top level, all the way at the bottom of the log.

teamcity_test

Is there a way around this? I assume it has to do with the test messages getting flowId attributes, whereas I don't otherwise use those in my build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant