From 249d17997bbbfa1b72e65fdb6c19538b24b98b59 Mon Sep 17 00:00:00 2001 From: jstilley Date: Wed, 15 May 2024 08:30:55 -0700 Subject: [PATCH] Which test class??? --- .github/workflows/wintests.yaml | 2 +- .github/workflows/wintests2.yaml | 4 ++-- .github/workflows/wintests3.yaml | 4 ++-- armi/bookkeeping/db/tests/test_databaseInterface.py | 3 +-- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/wintests.yaml b/.github/workflows/wintests.yaml index 8b6fe9e7c..0e31ec4ba 100644 --- a/.github/workflows/wintests.yaml +++ b/.github/workflows/wintests.yaml @@ -24,6 +24,6 @@ jobs: - name: Run Unit Tests on Windows run: | pip install -e .[memprof,mpi,test] - pytest armi/bookkeeping/db/tests/test_databaseInterface.py + pytest armi/bookkeeping/db/tests/test_databaseInterface.py::TestStandardFollowOn - name: Find Test Crumbs run: python .github/workflows/find_test_crumbs.py diff --git a/.github/workflows/wintests2.yaml b/.github/workflows/wintests2.yaml index f1f379f6b..4ea70df55 100644 --- a/.github/workflows/wintests2.yaml +++ b/.github/workflows/wintests2.yaml @@ -1,4 +1,4 @@ -name: ARMI Windows 2 tests +name: ARMI Windows 1 tests on: push: @@ -24,6 +24,6 @@ jobs: - name: Run Unit Tests on Windows run: | pip install -e .[memprof,mpi,test] - pytest armi/bookkeeping/db/tests/test_layout.py + pytest armi/bookkeeping/db/tests/test_databaseInterface.py::TestDatabaseReading - name: Find Test Crumbs run: python .github/workflows/find_test_crumbs.py diff --git a/.github/workflows/wintests3.yaml b/.github/workflows/wintests3.yaml index 68ae5ca3e..8b3336de3 100644 --- a/.github/workflows/wintests3.yaml +++ b/.github/workflows/wintests3.yaml @@ -1,4 +1,4 @@ -name: ARMI Windows 3 tests +name: ARMI Windows 1 tests on: push: @@ -24,6 +24,6 @@ jobs: - name: Run Unit Tests on Windows run: | pip install -e .[memprof,mpi,test] - pytest armi/bookkeeping/db/tests/test_comparedb3.py + pytest armi/bookkeeping/db/tests/test_databaseInterface.py::TestDatabaseWriter - name: Find Test Crumbs run: python .github/workflows/find_test_crumbs.py diff --git a/armi/bookkeeping/db/tests/test_databaseInterface.py b/armi/bookkeeping/db/tests/test_databaseInterface.py index 1312b5d7e..b348c455f 100644 --- a/armi/bookkeeping/db/tests/test_databaseInterface.py +++ b/armi/bookkeeping/db/tests/test_databaseInterface.py @@ -93,8 +93,7 @@ def tearDown(self): self.db.close() self.stateRetainer.__exit__() self.td.__exit__(None, None, None) - # test_interactBOL leaves behind some dirt (accessible after db close) that the - # TempDirChanger is not catching + # test_interactBOL leaves behind some crumbs that TempDirChanger is not catching bolDirt = os.path.join(PROJECT_ROOT, "armiRun.h5") if os.path.exists(bolDirt): os.remove(bolDirt)