Skip to content

Commit

Permalink
move test_asktell_surmise in-place test to regression_tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jlnav committed Apr 22, 2024
1 parent 9353e00 commit 7f1ef57
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
1 change: 0 additions & 1 deletion .github/workflows/extra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ jobs:
env:
CONDA_BUILD_SYSROOT: /Users/runner/work/libensemble/sdk/MacOSX10.15.sdk
run: |
rm ./libensemble/tests/unit_tests/test_asktell_surmise.py
./libensemble/tests/run-tests.sh -e -z -${{ matrix.comms-type }}
- name: Merge coverage
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# TESTSUITE_COMMS: local
# TESTSUITE_NPROCS: 4
# TESTSUITE_EXTRA: true
# TESTSUITE_OS_SKIP: OSX

import os

import numpy as np
import pytest

from libensemble.message_numbers import FINISHED_PERSISTENT_GEN_TAG


@pytest.mark.extra
def test_asktell_surmise():
if __name__ == "__main__":

from libensemble.executors import Executor
from libensemble.generators import Surmise
Expand Down Expand Up @@ -129,7 +131,3 @@ def test_asktell_surmise():

assert exit_code == FINISHED_PERSISTENT_GEN_TAG, "Standalone persistent_aposmm didn't exit correctly"
assert len(requested_canceled_sim_ids), "No cancellations sent by Surmise"


if __name__ == "__main__":
test_asktell_surmise()

0 comments on commit 7f1ef57

Please sign in to comment.