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

integration test: add agent loglevel test #490

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

dougsland
Copy link
Contributor

Adding test for the LogLevel option in the configuration.
Related #416

Signed-off-by: Douglas Schilling Landgraf dougsland@redhat.com

@dougsland
Copy link
Contributor Author

Testing locally:

OS:

# cat /etc/redhat-release
CentOS Stream release 9

Running:

# echo "tier: 1" >> tests/tier0/bluechi-agent-loglevel/main.fmf
# tmt run test --filter tier:1

/var/tmp/tmt/run-001

/plans/tier0
    discover
        how: fmf
        directory: /root/bluechi/tests
        filter: tier:1
        summary: 1 test selected
    provision
        how: local
        multihost name: default-0
        arch: x86_64
        distro: CentOS Stream 9
        summary: 1 guest provisioned
    prepare
        queued push task #1: push on default-0

        push task #1: push on default-0

        queued prepare task #1: Set containers setup on default-0

        prepare task #1: Set containers setup on default-0
        how: shell
        name: Set containers setup
        overview: 1 script found

        queued pull task #1: pull on default-0

        pull task #1: pull on default-0

        summary: 1 preparation applied
    execute
        queued execute task #1: default-0 on default-0

        execute task #1: default-0 on default-0
        how: tmt
        progress:
        summary: 1 test executed
    report
        how: junit
        output: /var/tmp/tmt/run-001/plans/tier0/report/default-0/junit.xml
        summary: 1 test passed
    finish

        summary: 0 tasks completed

total: 1 test passed

Copy link
Member

@engelmi engelmi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A minor nit, otherwise LGTM

Adding test for the LogLevel option in the configuration.

Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
@dougsland dougsland merged commit 4e1394f into eclipse-bluechi:main Aug 23, 2023
10 checks passed
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

Successfully merging this pull request may close these issues.

2 participants