From c621a680b05e317c9583ae31662ddca0ae5b9897 Mon Sep 17 00:00:00 2001 From: German <28149841+germa89@users.noreply.github.com> Date: Wed, 17 Jul 2024 11:02:02 +0200 Subject: [PATCH 1/6] fix: local-min timeout --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 58f73c51e1..c73c016a9b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -737,7 +737,7 @@ jobs: runs-on: ubuntu-latest if: github.ref != 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' needs: [smoke-tests, build-test-local-minimal-matrix] - timeout-minutes: 55 + timeout-minutes: 75 strategy: fail-fast: false matrix: ${{fromJson(needs.build-test-local-minimal-matrix.outputs.matrix)}} From 033ac6d4ca03802734e9fd94299c65f179a76b60 Mon Sep 17 00:00:00 2001 From: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Date: Wed, 17 Jul 2024 09:07:37 +0000 Subject: [PATCH 2/6] chore: adding changelog file 3288.fixed.md --- doc/changelog.d/3288.fixed.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/changelog.d/3288.fixed.md diff --git a/doc/changelog.d/3288.fixed.md b/doc/changelog.d/3288.fixed.md new file mode 100644 index 0000000000..5d3729a2ad --- /dev/null +++ b/doc/changelog.d/3288.fixed.md @@ -0,0 +1 @@ +fix: local-min timeout \ No newline at end of file From 5af0582cd5ef143d66814c820f5ea3a102684eba Mon Sep 17 00:00:00 2001 From: German <28149841+germa89@users.noreply.github.com> Date: Wed, 17 Jul 2024 11:08:53 +0200 Subject: [PATCH 3/6] asdf From 09a499fd219d6df45a4c6d1e7b46d6f3433c23de Mon Sep 17 00:00:00 2001 From: German <28149841+germa89@users.noreply.github.com> Date: Wed, 17 Jul 2024 11:51:36 +0200 Subject: [PATCH 4/6] docs: typo --- doc/source/user_guide/pool.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/user_guide/pool.rst b/doc/source/user_guide/pool.rst index 2d95338a21..c8ceb547be 100644 --- a/doc/source/user_guide/pool.rst +++ b/doc/source/user_guide/pool.rst @@ -76,8 +76,8 @@ example, this code would run the first set of 20 verification files: 20 -Run a user function -------------------- +Run an user function +-------------------- You can use the pool to run a custom user function on each MAPDL instance over a set of inputs. As in the example for the From 0ffdbec87f6e64fcdf4e5659c55d591a76e590e9 Mon Sep 17 00:00:00 2001 From: German <28149841+germa89@users.noreply.github.com> Date: Wed, 17 Jul 2024 12:54:59 +0200 Subject: [PATCH 5/6] fix: removing __del__ method. --- tests/test_pool.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/test_pool.py b/tests/test_pool.py index 69cab9d8b0..01fb9acdb1 100644 --- a/tests/test_pool.py +++ b/tests/test_pool.py @@ -68,11 +68,6 @@ class TestMapdlPool: - def __del__(self): - # making sure we are deleting everything - for each_mapdl in self.pool._instances: - each_mapdl.exit(force=True) - @pytest.fixture(scope="class") def pool_creator(self, tmpdir_factory): run_path = str(tmpdir_factory.mktemp("ansys_pool")) From ac841bd1f271afdef834fdccbffcb9a992deb472 Mon Sep 17 00:00:00 2001 From: German <28149841+germa89@users.noreply.github.com> Date: Wed, 17 Jul 2024 12:56:04 +0200 Subject: [PATCH 6/6] Revert "fix: removing __del__ method." This reverts commit 0ffdbec87f6e64fcdf4e5659c55d591a76e590e9. --- tests/test_pool.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test_pool.py b/tests/test_pool.py index 01fb9acdb1..69cab9d8b0 100644 --- a/tests/test_pool.py +++ b/tests/test_pool.py @@ -68,6 +68,11 @@ class TestMapdlPool: + def __del__(self): + # making sure we are deleting everything + for each_mapdl in self.pool._instances: + each_mapdl.exit(force=True) + @pytest.fixture(scope="class") def pool_creator(self, tmpdir_factory): run_path = str(tmpdir_factory.mktemp("ansys_pool"))