Skip to content

Commit

Permalink
feat: disabling start and stop test.
Browse files Browse the repository at this point in the history
  • Loading branch information
germa89 committed Sep 2, 2024
1 parent 4387a78 commit 1d0a5bf
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions tests/test_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@

## Checking MAPDL versions
from ansys.mapdl.core.database import MINIMUM_MAPDL_VERSION, DBDef, MapdlDb
from ansys.mapdl.core.database.database import FAILING_DATABASE_MAPDL
from ansys.mapdl.core.errors import MapdlRuntimeError, MapdlVersionError
from ansys.mapdl.core.misc import random_string
from conftest import ON_CI
Expand Down Expand Up @@ -105,17 +104,12 @@ def test_database_start_stop(mapdl):
f"This MAPDL version ({mapdl_version}) is not compatible with the Database module."
)

# Exception for 22.2
if mapdl_version == "22.2" and ON_CI:
# Exceptions
if mapdl_version in ["22.2", "23.1", "23.2", "24.1", "24.2", "25.1"] and ON_CI:
pytest.skip(
f"This MAPDL version ({mapdl_version}) docker image seems to not support DB, but local does."
)

if mapdl_version in FAILING_DATABASE_MAPDL:
pytest.skip(
f"This MAPDL version ({mapdl_version}) docker image does not support Database module."
)

# verify it can be created twice
mapdl.prep7()
for _ in range(2):
Expand Down

0 comments on commit 1d0a5bf

Please sign in to comment.