Skip to content

Commit edb80ff

Browse files
Skipping tests for now
1 parent 1e37320 commit edb80ff

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

tests/test_hpo/test_hpo.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ def test_hpo(SYS, TASK, ALGO, SAMPLER):
1818
'''Test HPO for one single trial using MySQL database.
1919
(create a study from scratch)
2020
'''
21+
pytest.skip('Takes too long.')
2122

2223
# output_dir
2324
output_dir = './examples/hpo/results'
@@ -79,6 +80,8 @@ def test_hpo(SYS, TASK, ALGO, SAMPLER):
7980
def test_hpo_parallelism(SYS, TASK, ALGO, LOAD, SAMPLER):
8081
'''Test HPO for in parallel.'''
8182

83+
pytest.skip('Takes too long.')
84+
8285
# if LOAD is False, create a study from scratch
8386
if not LOAD:
8487
# drop the database if exists
@@ -176,6 +179,8 @@ def test_hpo_without_database(SYS, TASK, ALGO, SAMPLER):
176179
'''Test HPO for one single trial without using MySQL database.
177180
(create a study from scratch)
178181
'''
182+
pytest.skip('Takes too long.')
183+
179184
# output_dir
180185
output_dir = './examples/hpo/results'
181186
# delete output_dir

tests/test_hpo/test_hpo_database.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
@pytest.mark.parametrize('ALGO', ['ppo', 'sac', 'gp_mpc'])
88
def test_hpo_database(ALGO):
9+
pytest.skip('Requires MySQL Database to be running.')
10+
911
# create database
1012
create(munch.Munch({'tag': f'{ALGO}_hpo'}))
1113

tests/test_hpo/test_train.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
@pytest.mark.parametrize('HYPERPARAMETER', ['default', 'optimimum'])
1616
def test_train(SYS, TASK, ALGO, HYPERPARAMETER):
1717
'''Test training rl/lbc given a set of hyperparameters.'''
18+
pytest.skip('Takes too long.')
19+
1820
# output_dir
1921
output_dir = './examples/hpo/results'
2022
# delete output_dir if exists

0 commit comments

Comments
 (0)