]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
suite: Ensure teuthology config is consistent between tests
authorZack Cerza <zack@redhat.com>
Thu, 1 Aug 2024 19:50:51 +0000 (13:50 -0600)
committerZack Cerza <zack@redhat.com>
Thu, 8 Aug 2024 00:05:15 +0000 (18:05 -0600)
commit674129db9df8481773848d25a6e70bed82f83224
tree08acdc4f7e186d566af791b3aa7d1d607845e89e
parente72b81f71ba668f0defc84b3143f0e929a8c21c3
suite: Ensure teuthology config is consistent between tests

test_init.py was making modifications to the config object that persisted
between tests. When I fixed that, initially some tests in test_run_.py started
failing because of settings in my local ~/.teuthology.yaml. This change causes
all of the tests in suite.test to use default config values.

Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/config.py
teuthology/suite/test/conftest.py [new file with mode: 0644]